protected override void Start()
    {
        userInput     = GetComponent <UserInputPr>();
        cameraManager = GetComponentInChildren <Visin1_1.CameraManager>();
        base.Start();

        basicData = GetComponent <AkaiBasicData>();
    }
예제 #2
0
 // Use this for initialization
 protected virtual void Start()
 {
     cameramanager = GetComponentInChildren <Visin1_1.CameraManager>();
     if (cameramanager)
     {
         cameraT    = cameramanager.transform;
         cameraType = cameramanager.cameraType;
     }
     maxSpeed = moveSpeed * speedScales;
 }