Example #1
0
 protected override void Execute(ObjectDestroyed msg)
 {
     map.Remove(msg.Object);
     if (!msg.IsGameObjectDestructionHandled)
     {
         msg.Object.SetActive(false);
     }
 }