public void Awake() { Path = GetComponent<iTweenPath>(); _fsm = Camera.main.GetComponent<PlayMakerFSM>(); _main = GameObject.Find("Main").GetComponent<Main>(); _grids = GameObject.Find("Grids").GetComponent<GridManager>(); }
public void Start() { _main = GameObject.Find("Main").GetComponent<Main>(); _fsm = GetComponent<PlayMakerFSM>(); }