コード例 #1
0
    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>();
 }
コード例 #5
0
 void Start()
 {
     Debug.Log("Starting HandGesture Trigger");
     platformRotate = Rotator.GetComponent<PlatformRotate>();
     
 }