예제 #1
0
 public RuntimeInspector(Entity entity)
 {
     this.entity = entity;
     prepCanvas();
     cacheTransformInspector();
     _camera = new ScreenSpaceCamera();
 }
예제 #2
0
 void Initialize()
 {
     PrepCanvas();
     _camera = new ScreenSpaceCamera();
     Core.Emitter.AddObserver(CoreEvents.GraphicsDeviceReset, OnGraphicsDeviceReset);
     Core.Emitter.AddObserver(CoreEvents.SceneChanged, OnSceneChanged);
 }
예제 #3
0
		void initialize()
		{
			prepCanvas();
			_camera = new ScreenSpaceCamera();
			Core.emitter.addObserver( CoreEvents.GraphicsDeviceReset, onGraphicsDeviceReset );
			Core.emitter.addObserver( CoreEvents.SceneChanged, onSceneChanged );
		}
예제 #4
0
 void initialize()
 {
     prepCanvas();
     _camera = new ScreenSpaceCamera();
     Core.emitter.addObserver(CoreEvents.GraphicsDeviceReset, onGraphicsDeviceReset);
     Core.emitter.addObserver(CoreEvents.SceneChanged, onSceneChanged);
 }