Beispiel #1
0
 private void Start()
 {
     onAboveWater += delegate()
     {
         aboveWater = !aboveWater;
     };
 }
Beispiel #2
0
 public static void AddOnAboveWaterEvent(OnAboveWater method)
 {
     if (s == null)
     {
         return;
     }
     s.onAboveWater += method;
 }