Elin Decompiled Documentation EA 23.346 Nightly
Loading...
Searching...
No Matches
TraitDoorBigL.cs
Go to the documentation of this file.
1using UnityEngine;
2
4{
5 public override TileMode tileMode => base.tileMode;
6
7 public override bool UseAltTiles => IsOpen();
8
9 public override bool UsePositionFix => IsOpen();
10
11 public override void PositionFix(ref Vector3 v)
12 {
13 v += EClass.setting.render.bigdoorFix[(owner.dir != 0 && owner.dir != 2) ? 1 : 0];
14 }
15}
Definition: EClass.cs:6
static GameSetting setting
Definition: EClass.cs:35
RenderSetting render
Definition: GameSetting.cs:348
override bool UsePositionFix
Definition: TraitDoorBigL.cs:9
override void PositionFix(ref Vector3 v)
override TileMode tileMode
Definition: TraitDoorBigL.cs:5
override bool UseAltTiles
Definition: TraitDoorBigL.cs:7
virtual bool IsOpen()
Definition: TraitDoor.cs:101
TileMode
Definition: Trait.cs:9