// @author: Craig Broskow void Start() { InitCameraEffects(); // initialize the camera effects objects readUGC = GetComponent <ReadUGC>(); if (readUGC.UGCFileExists()) { readUGC.LoadUGCFile(ref waypointObjects); } StartCoroutine(WaypointEngine()); // process the array of waypoints } // end method Start
// @author: Craig Broskow void Start() { InitCameraEffects(); // initialize the camera effects objects readUGC = GetComponent<ReadUGC>(); if (readUGC.UGCFileExists()) readUGC.LoadUGCFile(ref waypointObjects); StartCoroutine(WaypointEngine()); // process the array of waypoints }