示例#1
0
 void Start()
 {
     CF            = GameObject.Find("Cam").GetComponent <CameraFllow> ();
     VC            = GetComponent <VechielController> ();
     Amw           = GetComponent <AnimatorMW> ();
     pv            = GetComponent <PhotonView> ();
     OwnerId       = pv.ownerId;
     shotCompoment = GetComponent <Shot> ();
     IniInfo();
 }
	// Use this for initialization
	void Start () {
		destination = target.transform.position;
        instance = this;
	}
示例#3
0
 void awake()
 {
     _instance = this;
 }