public override void destroyState() { _unitMaster.removeObserver((IUnitCollisionObserver) this); _unitMaster = null; base.destroyState(); }
public UnitStateMove(UnitMasterBase unitMaster, Vector3 positionEnd) { _unitMaster = unitMaster; _positionEnd = positionEnd; }
public UnitStateFollowTheMaster(UnitMasterBase unitMaster) { _unitMaster = unitMaster; }