private void Awake() { playerCharacterAnimator = GetComponentInChildren <Animator>(); playerController = GetComponent <PlayerController>(); playerStats = GetComponent <PlayerStats>(); playerGUIMngr = GetComponent <PlayerGUIManager>(); }
/// <summary> /// Initializiation /// </summary> private void Start() { if (Instance != null) { CustomLogger.Instance.Error(LogMessages.MULTIPLE_INSTANCES); return; } Instance = this; Active = false; }
public void Start() { inventory = new PlayerInventory(); gui = new PlayerGUIManager(); }