コード例 #1
0
    private void Init()
    {
        BehaviorDataController.Instance = new BehaviorDataController();

        _behaviorDrawPropertyController = new BehaviorDrawPropertyController();
        _behaviorDrawPropertyController.Init();

        _behaviorDrawController = new BehaviorDrawController();
        _behaviorDrawController.Init();

        BehaviorRunTime.Instance.Init();
    }
コード例 #2
0
    private void OnEnable()
    {
        BehaviorManager.Instance.Init();

        _behaviorDrawPropertyController = new BehaviorDrawPropertyController();
        _behaviorDrawPropertyController.Init();

        _behaviorDrawController = new BehaviorDrawController();
        _behaviorDrawController.Init();

        BehaviorRunTime.Instance.Init();

        EditorApplication.update += OnFrame;
    }
コード例 #3
0
 public void Init(TreeNodeWindow window, BehaviorDrawController drawController)
 {
     _treeNodeWindow = window;
     _drawController = drawController;
 }