Exemple #1
0
    private void Start()
    {
        ib = InfoBike.Instance;
        ic = InfoCharacter.Instance;

        ClearPanel();
        panels[0].SetActive(true);
    }
Exemple #2
0
 private void Awake()
 {
     if (Instance != null)
     {
         Destroy(gameObject);
         return;
     }
     Instance = this;
     DontDestroyOnLoad(gameObject);
     Init();
 }