1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- public class ModeController : MonoBehaviour
- {
- public enum Perspective
- {
- FirstPersonPerspective,
- ThirdPersonPerspective,
- ThirdPersonPerspectiveWithMultipleViews
- };
- public enum Complexity
- {
- OneArm,
- TwoArms,
- TwoArmsPlusLeg
- }
- public enum Direction
- {
- Sideways,
- Forward,
- Backward
- }
- public enum Feedback
- {
- None,
- ColorFeedback,
- HapticFeedback
- }
- public enum Speed
- {
- Slow,
- Fast
- }
- public bool testing;
- public Perspective perspective;
- public Complexity complexity;
- public Direction direction;
- public Feedback feedback;
- public Speed speed;
- public GameObject monitors;
- private void Start()
- {
- if (perspective == Perspective.ThirdPersonPerspectiveWithMultipleViews)
- {
- monitors.SetActive(true);
- }
- else
- {
- monitors.SetActive(false);
- }
- }
- }
|