Пример #1
0
 void Start()
 {
     SkillInColdTime();
     PreSkillImageCold = 1 / (SkillReadyTime * (1 / Time.fixedDeltaTime));
     Amw = GetComponent <AnimatorMW> ();
     Pv  = GetComponent <PhotonView> ();
     CurrentShellCount = ShellCounts;
 }
Пример #2
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();
 }