// Use this for initialization
 void Start()
 {
     instance = this;
     if (movementBeaconParent == null)
     {
         movementBeaconParent = this.transform;
     }
 }
Example #2
0
 // Use this for initialization
 void Start()
 {
     if (master == null)
     {
         master = GetComponent <Player>();
     }
     if (visualizer == null)
     {
         visualizer = GetComponent <ShipEnginePredictionVisualizer>();
     }
 }