public EightWayShadowChecker(ShadowController _shadow, Vector2[] _posArr) : base(_shadow, _posArr) { this.type = SHADOW_TYPE.EIGHT_WAY; this.way = EIGHT_WAY_TYPE.END; }
public FourWayShadowChecker(ShadowController _shadow, Vector2[] _posArr) : base(_shadow, _posArr) { this.type = SHADOW_TYPE.FOUR_WAY; this.way = FOUR_WAY_TYPE.END; }
public TwoWayShadowChecker(ShadowController _shadow, Vector2[] _posArr) : base(_shadow, _posArr) { this.type = SHADOW_TYPE.TWO_WAY; this.way = TWO_WAY_TYPE.END; }
public WayShadowChecker(ShadowController _shadow, Vector2[] _posArr) { this.shadow = _shadow; this.posArr = _posArr.Clone() as Vector2[]; }
public OneWayShadowChecker(ShadowController _shadow, Vector2[] _posArr) : base(_shadow, _posArr) { this.type = SHADOW_TYPE.ONE_WAY; this.shadow.transform.localPosition = _posArr[0]; }