public override void onAddedToEntity() { // prep IMGUI for use IMGUI.init(Graphics.instance.bitmapFont); _miner = entity.scene.findObjectOfType <BehaviorTreeMiner>(); _utilityMiner = entity.scene.findObjectOfType <UtilityMiner>(); _goapMiner = entity.scene.findObjectOfType <GOAPMiner>(); }
protected override void Initialize() { base.Initialize(); Window.AllowUserResizing = true; // prep IMGUI for use IMGUI.init(Graphics.instance.bitmapFont); scene = Scenes.sceneOne(); }