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