Example #1
0
 void Awake()
 {
     uiGame = GetComponent <UI_GamePlay>();
     uiGame.SetMaxValueOfSlider(force);
     rb = GetComponent <Rigidbody>();
 }