Beispiel #1
0
        public void NotifyContactWithPlayer(CubeScript playerScript)
        {
            playerScript.NotifyEnemyContact(this);


            gameObject.SetActive(false);
        }
Beispiel #2
0
 public void UpdateTarget(CubeScript cScript)
 {
     TargetCube       = cScript;
     _targetTransform = TargetCube.transform;
 }
Beispiel #3
0
 public void UpdateTarget(CubeScript cScript, Transform tragetTransform)
 {
     TargetCube      = cScript;
     TargetTransform = tragetTransform;
 }