void Start() { Debug.Log("Hand Manager Start"); platformRotate = Rotator.GetComponent<PlatformRotate>(); //player = GameObject.Find("FPSPreFab"); //playerScript = player.GetComponent<InfinitePlayerController>(); // ovrPlayerScript = ovrPlayer.GetComponent<OVRInfinitePlayerController>(); }
void Start() { Debug.Log("Hand Manager Start"); platformRotate = Rotator.GetComponent <PlatformRotate>(); //player = GameObject.Find("FPSPreFab"); //playerScript = player.GetComponent<InfinitePlayerController>(); // ovrPlayerScript = ovrPlayer.GetComponent<OVRInfinitePlayerController>(); }
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; } }
void Start() { Debug.Log("Starting HandGesture Trigger"); platformRotate = Rotator.GetComponent <PlatformRotate>(); }
void Start() { Debug.Log("Starting HandGesture Trigger"); platformRotate = Rotator.GetComponent<PlatformRotate>(); }