当前位置: 首页>>代码示例>>C#>>正文


C# uFrame类代码示例

本文整理汇总了C#中uFrame的典型用法代码示例。如果您正苦于以下问题:C# uFrame类的具体用法?C# uFrame怎么用?C# uFrame使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


uFrame类属于命名空间,在下文中一共展示了uFrame类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: PhotonSystemOnJoinedRoomHandler

 protected void PhotonSystemOnJoinedRoomHandler(uFrame.ECS.OnJoinedRoomDispatcher data, LobbyButton source) {
     var handler = PhotonSystemOnJoinedRoomHandlerInstance;
     handler.System = this;
     handler.Event = data;
     handler.Source = source;
     StartCoroutine(handler.Execute());
 }
开发者ID:InvertGames,项目名称:uFrame.Photon,代码行数:7,代码来源:RoomSystem.cs

示例2: LobbySystemPointerClickFilter

 protected void LobbySystemPointerClickFilter(uFrame.ECS.PointerClickDispatcher data) {
     var SourceLobbyButton = LobbyButtonManager[data.EntityId];
     if (SourceLobbyButton == null) {
         return;
     }
     this.LobbySystemPointerClickHandler(data, SourceLobbyButton);
 }
开发者ID:InvertGames,项目名称:uFrame.Photon,代码行数:7,代码来源:LobbySystem.cs

示例3: PhotonSystemOnJoinedRoomFilter

 protected void PhotonSystemOnJoinedRoomFilter(uFrame.ECS.OnJoinedRoomDispatcher data) {
     var SourceLobbyButton = LobbyButtonManager[data.EntityId];
     if (SourceLobbyButton == null) {
         return;
     }
     this.PhotonSystemOnJoinedRoomHandler(data, SourceLobbyButton);
 }
开发者ID:InvertGames,项目名称:uFrame.Photon,代码行数:7,代码来源:RoomSystem.cs

示例4: CubesAdded

 public override void CubesAdded(uFrame.MVVM.ViewBase view)
 {
     float x = UnityEngine.Random.Range(0.25f, 0.75f);
     float y = UnityEngine.Random.Range(0.25f, 0.75f);
     Vector3 viewPort = new Vector3(x, y, 10f);
     view.transform.position = Camera.main.ViewportToWorldPoint(viewPort);
 }
开发者ID:masaaania,项目名称:uFramePractice,代码行数:7,代码来源:CubeSpawnView.cs

示例5: LobbySystemPointerClickHandler

 protected void LobbySystemPointerClickHandler(uFrame.ECS.PointerClickDispatcher data, LobbyButton source) {
     var handler = LobbySystemPointerClickHandlerInstance;
     handler.System = this;
     handler.Event = data;
     handler.Source = source;
     StartCoroutine(handler.Execute());
 }
开发者ID:InvertGames,项目名称:uFrame.Photon,代码行数:7,代码来源:LobbySystem.cs

示例6: DemoPlayerSystemPointerClickHandler

 protected virtual void DemoPlayerSystemPointerClickHandler(uFrame.ECS.MouseDownDispatcher data, ClickCount source) {
     var handler = new DemoPlayerSystemPointerClickHandler();
     handler.System = this;
     handler.Event = data;
     handler.Source = source;
     handler.Execute();
 }
开发者ID:InvertGames,项目名称:uFrame.ECS.PlayFab,代码行数:7,代码来源:DemoPlayerSystem.designer.cs

示例7: PhotonSystemGameReadyHandler

 protected void PhotonSystemGameReadyHandler(uFrame.Kernel.GameReadyEvent data, Driver group) {
     var handler = PhotonSystemGameReadyHandlerInstance;
     handler.System = this;
     handler.Event = data;
     handler.Group = group;
     StartCoroutine(handler.Execute());
 }
开发者ID:InvertGames,项目名称:uFrame.Photon,代码行数:7,代码来源:PhotonSystem.cs

示例8: InitializeViewModel

 protected override void InitializeViewModel(uFrame.MVVM.ViewModel model)
 {
     base.InitializeViewModel(model);
     // NOTE: this method is only invoked if the 'Initialize ViewModel' is checked in the inspector.
     // var vm = model as GameCoreViewModel;
     // This method is invoked when applying the data from the inspector to the viewmodel.  Add any view-specific customizations here.
 }
开发者ID:housei,项目名称:CubeClicker,代码行数:7,代码来源:GameHUDView.cs

示例9: HandleDestroyOnCollisionHandler

 protected override void HandleDestroyOnCollisionHandler(uFrame.ECS.OnTriggerEnterDispatcher data, DestroyOnCollision source)
 {
     var handler = new HandleDestroyOnCollisionHandler();
     handler.System = this;
     handler.Event = data;
     handler.Source = source;
     handler.Execute();
 }
开发者ID:InvertGames,项目名称:uFrameECSDemo,代码行数:8,代码来源:HazardSystem.cs

示例10: InitializeViewModel

 protected override void InitializeViewModel(uFrame.MVVM.ViewModel model) {
     base.InitializeViewModel(model);
     // NOTE: this method is only invoked if the 'Initialize ViewModel' is checked in the inspector.
     // var vm = model as LevelRootViewModel;
     // This method is invoked when applying the data from the inspector to the viewmodel.  Add any view-specific customizations here.
     var levelrootview = ((LevelRootViewModel)model);
     levelrootview.CurrentLevel = this._CurrentLevel;
 }
开发者ID:marcochiu2-c,项目名称:MainMenu_uFrame1.6,代码行数:8,代码来源:Views.designer.cs

示例11: PhotonSystemGameReadyFilter

 protected void PhotonSystemGameReadyFilter(uFrame.Kernel.GameReadyEvent data) {
     var DriverItems = DriverManager.Components;
     for (var DriverIndex = 0
     ; DriverIndex < DriverItems.Count; DriverIndex++
     ) {
         this.PhotonSystemGameReadyHandler(data, DriverItems[DriverIndex]);
     }
 }
开发者ID:InvertGames,项目名称:uFrame.Photon,代码行数:8,代码来源:PhotonSystem.cs

示例12: GameReadyEventHandler

 protected void GameReadyEventHandler(uFrame.Kernel.GameReadyEvent data, Box group)
 {
     var handler = GameReadyEventHandlerInstance;;
     handler.System = this;
     handler.Event = data;
     handler.Group = group;
     handler.Execute();
 }
开发者ID:MikeHuntington,项目名称:ECS-Numbers,代码行数:8,代码来源:BoxSystem.cs

示例13: UISystemPointerClickDispatcherHandler

 protected override void UISystemPointerClickDispatcherHandler(uFrame.ECS.PointerClickDispatcher data, PlayGameButton source)
 {
     var handler = new UISystemPointerClickDispatcherHandler();
     handler.System = this;
     handler.Event = data;
     handler.Source = source;
     handler.Execute();
 }
开发者ID:InvertGames,项目名称:uFrameECSDemo,代码行数:8,代码来源:UISystem.cs

示例14: InitializeViewModel

    protected override void InitializeViewModel(uFrame.MVVM.ViewModel model) {
        base.InitializeViewModel(model);
        // NOTE: this method is only invoked if the 'Initialize ViewModel' is checked in the inspector.
        // var vm = model as PlayerViewModel;
        // This method is invoked when applying the data from the inspector to the viewmodel.  Add any view-specific customizations here.
		//Debug.Log("Max_Quantity = " + Max_Quantity);
		gSHexGridManager = GameObject.Find("HexMapGrid").GetComponent<GSHexGridManager>();
	}
开发者ID:marcochiu2-c,项目名称:MainMenu_uFrame1.6,代码行数:8,代码来源:SoldierView.cs

示例15: PlayerSystemOnCollisionEnterHandler

 protected override void PlayerSystemOnCollisionEnterHandler(uFrame.ECS.OnTriggerEnterDispatcher data, Hazard collider, PlayerGunner source)
 {
     var handler = new PlayerSystemOnCollisionEnterHandler();
     handler.System = this;
     handler.Event = data;
     handler.Collider = collider;
     handler.Source = source;
     handler.Execute();
 }
开发者ID:InvertGames,项目名称:uFrameECSDemo,代码行数:9,代码来源:PlayerSystem.cs


注:本文中的uFrame类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。