Esempio n. 1
0
 void Start()
 {
     playerGroundSensor = GetComponent<PlayerGroundSensor>();
     playerFlip = GetComponent<PlayerFlip>();
     rigidBody = GetComponent<Rigidbody2D>();
     animator = GetComponent<Animator>();
 }
Esempio n. 2
0
 void Start()
 {
     playerGroundSensor = GetComponent <PlayerGroundSensor>();
     playerFlip         = GetComponent <PlayerFlip>();
     rigidBody          = GetComponent <Rigidbody2D>();
     animator           = GetComponent <Animator>();
 }