// Use this for initialization void Start() { _Manager = GameObject.FindWithTag("GoalPointManager").GetComponent <GoalPointManager>(); if (_Manager._SequenceMode) { //Spawn in order } }
// Use this for initialization void Start() { CheckPoints(); _Manager = GameObject.FindWithTag("GoalPointManager").GetComponent <GoalPointManager>(); if (_Manager._SequenceMode) { //Spawn in order foreach (GoalPoint p in _Points) { p.gameObject.SetActive(false); } _Points[0].gameObject.SetActive(true); } }