Post news RSS Wednesday 29.6 | Objective Manager

Adding functionality to the objectives on the scene level.

Posted by on

Wednesday 29.6 | Objective Manager

Platformer Prototype

Adding functionality to the objectives on the scene level. On my blog

Objective Manager

Creating an Objective Manager for easy management of the events I want to have happen for every objective completed.


Right now the first objective is setting the alarm offline and the second one is setting it online. So they could represent the main electrical switches, that you're tampering for example.

Day's Work

  • Objective Manager
    • Objectives completed list
    • OnObjectiveCompleted event
    • OnAllObjectivesCompleted event
  • Alarm
    • Online/Offline modes (Hiding spotlight mesh and trigger messages)
  • SendTriggerMessages helper component
    • Has public OnTrigger____ as unity events which can be listened to in a parent script
  • AnimationHelper component
    • Pause and Resume the states of the Animation component on the object (I needed to do this with an event and there's no good methods in the component itself)
Post a comment
Sign in or join with:

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.