Beispiel #1
0
 void Awake()
 {
     inputManager        = FindObjectOfType(typeof(RUISInputManager)) as RUISInputManager;
     skeletonManager     = FindObjectOfType(typeof(RUISSkeletonManager)) as RUISSkeletonManager;
     stabilizingCollider = GetComponentInChildren <RUISCharacterStabilizingCollider>();
     lastJumpTime        = 0;
 }
    void Awake()
    {
        inputManager = FindObjectOfType(typeof(RUISInputManager)) as RUISInputManager;
        skeletonManager = FindObjectOfType(typeof(RUISSkeletonManager)) as RUISSkeletonManager;
        stabilizingCollider = GetComponentInChildren<RUISCharacterStabilizingCollider>();
		lastJumpTime = 0;
		skeletonController = gameObject.GetComponentInChildren<RUISSkeletonController>();
    }