Exemple #1
0
 // Use this for initialization
 void Awake()
 {
     Instance  = this;
     Facing    = Facing.Right;
     severable = GetComponent <Severable>();
     Fader.Instance.FadeIn();
 }
 // Use this for initialization
 void Start()
 {
     torque    = Strength;
     severable = GetComponent <Severable>();
     InvokeRepeating("SwitchTorque", 0, Interval);
 }