Example #1
0
    public static void addCutsceneEventFront(CutSceneClass CutsceneEventInput, GameObject CutsceneTargetInput, bool WaitInput, GameDataTracker.cutsceneModeOptions CutsceneModeInput)
    {
        CutSceneEvent newEvent = new CutSceneEvent();

        newEvent.CutsceneEvent  = CutsceneEventInput;
        newEvent.CutsceneTarget = CutsceneTargetInput;
        newEvent.Wait           = WaitInput;
        newEvent.CutsceneMode   = CutsceneModeInput;
        newEvent.CameraFocus    = null;
        newEvent.CameraOffset   = Vector3.zero;
        CutsceneQueue.Insert(0, newEvent);
    }
Example #2
0
    //WAYS TO ADD CUTSCENE EVENTS-----------------------------------------------------------------------
    public static void addCutsceneEvent(CutSceneClass CutsceneEventInput, GameObject CutsceneTargetInput, bool WaitInput, GameDataTracker.cutsceneModeOptions CutsceneModeInput, GameObject CameraFocusInput, Vector3 CameraOffsetInput)
    {
        CutSceneEvent newEvent = new CutSceneEvent();

        newEvent.CutsceneEvent  = CutsceneEventInput;
        newEvent.CutsceneTarget = CutsceneTargetInput;
        newEvent.Wait           = WaitInput;
        newEvent.CutsceneMode   = CutsceneModeInput;
        newEvent.CameraFocus    = CameraFocusInput;
        newEvent.CameraOffset   = CameraOffsetInput;
        CutsceneQueue.Add(newEvent);
    }