// Use this for initialization void Start() { targetCheckRate = Random.Range(1, 3); cube = GetComponent <Cube>(); cubeCombat = GetComponent <CubeCombat>(); sphere = GetComponent <SphereCollider>(); }
// Use this for initialization void Start() { cubeMovement = GetComponent <CubeMovement>(); cubeCombat = GetComponent <CubeCombat>(); }