Пример #1
0
    private void Initialize()
    {
        if (GameManager.singleton == null)
        {
            GameManager.ForceReturnToMenu();
        }

        _profile = GameManager.singleton.Profile;
        SetAspects(this, new Controller());
        SetInputEvents(true);

        _inputter.SetAspects(this);
        _cameraController.SetAspects(this);
    }
Пример #2
0
 private void Awake()
 {
     inputter.SetAspects(this);
     biped.SetAspects(this);
     cameraController.SetAspects(this);
 }