Beispiel #1
0
 void Start()
 {
     rb            = GetComponent <Rigidbody2D>();
     characterData = this.gameObject.GetComponent <CharacterData>();
     netWorkInput  = this.gameObject.GetComponent <NetWorkInput>();
 }
Beispiel #2
0
 void Start()
 {
     netWorkInput = this.gameObject.GetComponent <NetWorkInput>();
     anim         = GetComponent <Animator>();
 }