/// <summary> /// Initializing Constructor for Dynamic Objects /// </summary> private void Initialize() { turnController = FindObjectOfType <TurnBaseController>(); ManagerCharSelectLogic = GetComponentInParent <CharacterSelectLogic>(); // tambah efath ManagerPointManager = FindObjectOfType <PointManager>(); ManagerStrategyUI = FindObjectOfType <StrategyModeUI>(); dir = this.gameObject.GetComponent <DirectionControl>(); }
private void Awake() { instace = this; }