示例#1
0
 void Start()
 {
     rb          = GetComponent <Rigidbody>();
     massControl = GameObject.Find("Mass").GetComponent <MassControl>();
 }
示例#2
0
 void Start()
 {
     masscontrol = mass.GetComponent <MassControl>();
 }