• Register
Post news Report 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.

49ObjectiveManager

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

Your comment will be anonymous unless you join the community. Or sign in with your social account: