Example #1
0
    protected override void Awake()
    {
        timelineController = GetComponent <Script_TimelineController>();

        base.Awake();

        InitialState();
    }
    public override void OnInspectorGUI()
    {
        DrawDefaultInspector();

        Script_TimelineController timelineController = (Script_TimelineController)target;

        if (GUILayout.Button("Test Binding"))
        {
            // timelineController.BindTimelineTracks(timelineController.timelines[1]);
        }
    }
Example #3
0
    // ----------------------------------------------------------------------

    public void Setup()
    {
        if (Control == null)
        {
            Control = this;
        }
        else if (Control != this)
        {
            Destroy(this.gameObject);
        }

        timelineController = GetComponent <Script_TimelineController>();

        dayNotification.Setup();

        isInteractAfter = true;
    }
Example #4
0
 void Awake()
 {
     timelineController = GetComponent <Script_TimelineController>();
 }