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