private void Awake() { if (Instance == null) { Instance = this; } }
void Awake() { uiGame = GetComponent <UI_GamePlay>(); uiGame.SetMaxValueOfSlider(force); rb = GetComponent <Rigidbody>(); }
private void Awake() { if (Instance == null) { Instance = this; } }
void Awake() { uiGame = GetComponent <UI_GamePlay>(); uiGame.SetMaxValueOfSlider(force); rb = GetComponent <Rigidbody>(); }