예제 #1
0
 public void AddMechanism(ForcePlatform pl)
 {
     if (!mechanism.Contains(pl))
     {
         mechanism.Add(pl);
     }
     Check();
 }
예제 #2
0
 public void DeleteMechanism(ForcePlatform pl)
 {
     if (mechanism.Contains(pl))
     {
         mechanism.Remove(pl);
     }
     Check();
 }
예제 #3
0
 private void Start()
 {
     link = GetComponentInParent <ForcePlatform>();
 }