private void Start() { GW_Player = GameObject.Find("Player").GetComponent <PlayerCharacterUnit>(); GW_PlayerCamera = Camera.main; UnityEngine.Object[] tempAbilityList = Resources.LoadAll("SO/Abilities", typeof(ScriptableObject)); UnityEngine.Object[] tempStatusList = Resources.LoadAll("SO/Statuses", typeof(ScriptableObject)); GW_CharacterPanel = GameObject.Find("UIController").GetComponent <CharacterPanelScripts>(); Cursor.lockState = CursorLockMode.Locked; }
private void Start() { pUC = GetComponent <PlayerUnitController>(); characterPanelScripts = GameObject.Find("UIController").GetComponent <CharacterPanelScripts>(); }