예제 #1
0
        void Start()
        {
            gameManager        = GameObject.Find("GameManager").GetComponent <MightyGameManager>();
            inputControlDevice = InputControlDevice.Mouse;

            DeselectUI();


            SetUpGameJamLogo();
            SetUpUIElements();
            SetUpResolutionOptions();
            SetUpCursor();

            animatedCameraDirectionTimer = animatedCameraInclination;
        }
        void Awake()
        {
            gameManager = this;


            FindMightyReferences();

            gameState     = startGameState;
            lastGameState = startGameState;

            if (debugHideUI)
            {
                gameState         = GameState.Playing;
                lastGameState     = GameState.Playing;
                UIManager.enabled = false;
                UIManager.transform.gameObject.SetActive(false);
            }
        }
예제 #3
0
 void Start()
 {
     gameManager = GameObject.Find("GameManager").GetComponent <MightyGameManager>();
     m_TargetCameraState.SetFromTransform(transform);
     m_InterpolatingCameraState.SetFromTransform(transform);
 }
 public void Start()
 {
     gameManager = GameObject.Find("GameManager").GetComponent <MightyGameManager>();
 }