Esempio n. 1
0
 // Start is called before the first frame update
 void Start()
 {
     myControllerInputs = this.gameObject.GetComponent <controllerInputs>();
     myAnimator         = this.gameObject.GetComponent <Animator>();
     effectAnimator     = this.transform.GetChild(1).GetComponent <Animator>();
     myAudioManager     = this.gameObject.GetComponent <AudioManager>();
     myAttackSystem     = this.gameObject.GetComponent <attackSystem>();
 }
Esempio n. 2
0
 void onLoad()
 {
     myControllerInputs = this.gameObject.GetComponent <controllerInputs>();
     otherPlayer        = FindObjectsOfType <playerMove>()[(this.gameObject.tag == "1" ? 1 : 2) - 1].gameObject.transform;
 }
Esempio n. 3
0
 void onLoad()
 {
     myControllerInputs      = this.gameObject.GetComponent <controllerInputs>();
     myTriggerColliderSystem = this.gameObject.transform.GetChild(0).GetComponent <triggerColliderSystem>();
 }