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