예제 #1
0
    // Use this for initialization
    void Start()
    {
        spherical_Vector_Data.Lenght  = camera_Lenght;
        spherical_Vector_Data.Azimuth = angle_Offset.x;
        spherical_Vector_Data.Zenith  = angle_Offset.y;


        camera_Position_Temp = mainCamera.transform.localPosition;
        camera_Position      = camera_Position_Temp;

        MouseLock.MouseLocked = true;
        playerMovementC       = GetComponent <PlayerMovement_Combat>();
    }
예제 #2
0
 void Awake()
 {
     // Init oldSpeed
     oldSpeed        = speed - 1;
     playerMovementC = GetComponent <PlayerMovement_Combat>();
 }