Пример #1
0
 // Use this for initialization
 void Start()
 {
     targetCheckRate = Random.Range(1, 3);
     cube            = GetComponent <Cube>();
     cubeCombat      = GetComponent <CubeCombat>();
     sphere          = GetComponent <SphereCollider>();
 }
Пример #2
0
 // Use this for initialization
 void Start()
 {
     cubeMovement = GetComponent <CubeMovement>();
     cubeCombat   = GetComponent <CubeCombat>();
 }