Beispiel #1
0
 public OnHitType(bool epic, float chance, OnHitCallback callback)
 {
     Id       = Count++;
     Chance   = chance;
     Callback = callback;
     Epic     = epic;
 }
Beispiel #2
0
 public void AddOnHit(OnHitCallback oh)
 {
     on_hits.Add(oh);
 }
Beispiel #3
0
 public void RemoveOnHit(OnHitCallback oh)
 {
     on_hits.Remove(oh);
 }
Beispiel #4
0
 public static extern IntPtr AddCharacterController(IntPtr scene, CapsuleControllerData controller,
                                                    OnFilterCallback withWorld, OnFilterCallback withController,
                                                    OnHitCallback onHitShape, OnHitCallback onHitController);