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() { _grid = GameObject.Find("Grids").GetComponent<GridManager>(); }