public virtual void onBunnyTrapAction(BunnyBehavior bunny){ }
public void notifyBunnyTrapAction(BunnyBehavior bunny){ if (currentModeBeingPlayed != null) { currentModeBeingPlayed.onBunnyTrapAction (bunny); } }
/// <summary> /// Made to allow child classes to have their own start function without /// overwriting the base class's Start() /// </summary> protected override void controlerStart(){ bunnyControlling = gameObject.GetComponent<BunnyBehavior> (); }