示例#1
0
 void Start()
 {
     aim = this.GetComponent <AimMode>();
 }
示例#2
0
 public void Start()
 {
     gscript = this.transform.parent.GetComponent <GunScript>().GetComponentInChildren <AimMode>();
 }