Example #1
0
 void Start()
 {
     rigidBody = GetComponent<Rigidbody2D>();
     groundSensor = GetComponent<PlayerGroundSensor>();
     playerChat = GetComponent<PlayerChat>();
 }
Example #2
0
 void Start()
 {
     rigidBody    = GetComponent <Rigidbody2D>();
     groundSensor = GetComponent <PlayerGroundSensor>();
     playerChat   = GetComponent <PlayerChat>();
 }