void Start()
    {
        Debug.Log("Hand Manager Start"); 
        platformRotate = Rotator.GetComponent<PlatformRotate>();
        //player = GameObject.Find("FPSPreFab");
        
        //playerScript = player.GetComponent<InfinitePlayerController>();
 //       ovrPlayerScript = ovrPlayer.GetComponent<OVRInfinitePlayerController>();
    }
Пример #2
0
    void Start()
    {
        Debug.Log("Hand Manager Start");
        platformRotate = Rotator.GetComponent <PlatformRotate>();
        //player = GameObject.Find("FPSPreFab");

        //playerScript = player.GetComponent<InfinitePlayerController>();
        //       ovrPlayerScript = ovrPlayer.GetComponent<OVRInfinitePlayerController>();
    }
Пример #3
0
    private void Start()
    {
        initialPosition = transform.localPosition;
        goingRight      = beginRight;
        goingUp         = beginUp;

        PlatformRotate platformRotate = GetComponent <PlatformRotate> ();

        if (platformRotate != null && platformRotate.enabled)
        {
            Debug.LogError(GetType().Name + " : This script cannot be used with " + platformRotate.GetType().Name);
            enabled = false;
        }
    }
Пример #4
0
 void Start()
 {
     Debug.Log("Starting HandGesture Trigger");
     platformRotate = Rotator.GetComponent <PlatformRotate>();
 }
 void Start()
 {
     Debug.Log("Starting HandGesture Trigger");
     platformRotate = Rotator.GetComponent<PlatformRotate>();
     
 }