// Use this for initialization
 void Awake()
 {
     controls = GetComponent <NavControl>();
     SetChildColliders();
     Buttons.Add("Right", new List <float>());
     Buttons.Add("Left", new List <float>());
 }
Exemple #2
0
 // Use this for initialization
 protected void Awake()
 {
     controls = GetComponent <NavControl>();
     scale    = transform.localScale;
     // Make the ship
     color = getRandomColor();
     Shape();
 }
Exemple #3
0
 // Use this for initialization
 protected void Awake()
 {
     controls = GetComponent<NavControl>();
     scale = transform.localScale;
     // Make the ship
     color = getRandomColor();
     Shape();
 }
 // Use this for initialization
 void Awake()
 {
     controls = GetComponent<NavControl>();
 }
Exemple #5
0
 // Use this for initialization
 void Awake()
 {
     controls = GetComponent<NavControl>();
     SetChildColliders();
     Buttons.Add("Right", new List<float>());
     Buttons.Add("Left", new List<float>());
 }
 // Use this for initialization
 void Awake()
 {
     controls = GetComponent <NavControl>();
 }