You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
555 B
32 lines
555 B
using UnityEngine; |
|
using System.Collections; |
|
using UnityEngine.UI; |
|
using AX.MessageSystem; |
|
using AX.TrackRecord; |
|
|
|
public class ControlRiseCar : MonoBehaviour { |
|
|
|
public Slider TheSlider; |
|
public Toggle TheToggle; |
|
public float Speed; |
|
void Start () |
|
{ |
|
TheToggle.onValueChanged.AddListener(ToggleChange); |
|
} |
|
public void GetIsOn() |
|
{ |
|
//TheToggle.isOn = false; |
|
} |
|
public void ToggleChange(bool check) |
|
{ |
|
if (check) |
|
{ |
|
|
|
} |
|
else |
|
{ |
|
|
|
} |
|
} |
|
|
|
}
|
|
|