private void Start() { ib = InfoBike.Instance; ic = InfoCharacter.Instance; ClearPanel(); panels[0].SetActive(true); }
private void Awake() { if (Instance != null) { Destroy(gameObject); return; } Instance = this; DontDestroyOnLoad(gameObject); LoadPrefabsInfo(); LoadTextureInfo(); }