Beispiel #1
0
 void Start()
 {
     if (id == -1)
     {
         id = Ruratae.CreateSpring(this);
     }
 }
 public void Initialize()
 {
     if (id == -1)
     {
         GetComponent <CapsuleCollider>().enabled = false;
         id = Ruratae.CreateSpring(this);
     }
 }
Beispiel #3
0
 void OnEnable()
 {
     id = Ruratae.CreateSpring(this);
 }