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; }
void awake() { _instance = this; }