void OnWizardCreate() { if (wall == null && Selection.activeGameObject != null) { wall = Selection.activeGameObject.GetComponent <MapWall> (); } MapEventActionManager.CreateClearWallAction(Selection.activeGameObject, wall, key); }