예제 #1
0
        public virtual void Start()
        {
            if (ShowCursor)
            {
                Mouse.ShowCursor();
            }
            else
            {
                Mouse.HideCursor();
            }

            EntityPicker         = new EntityPicker();
            EntityPicker.Picked += OnEntitySelected;

            UI        = SceneObject.Instantiate <LevelUI>(Canvas);
            UI.Header = Header;
            UI.AddDivider();

            OnStart();
        }
예제 #2
0
 protected virtual void OnCleanup()
 {
     EntityPicker.Destroy();
 }