浏览代码

Multipie integration with empty behavior

/main
JS Fauteux 4 年前
当前提交
dc7a429c
共有 5 个文件被更改,包括 22 次插入2 次删除
  1. 5
      Assets/BossRoom/Scripts/Shared/BossRoom.Shared.asmdef
  2. 1
      Packages/manifest.json
  3. 15
      Assets/BossRoom/Scripts/Shared/SliceBehaviors/EmptySliceBehavior.cs
  4. 3
      Assets/BossRoom/Scripts/Shared/SliceBehaviors/EmptySliceBehavior.cs.meta

5
Assets/BossRoom/Scripts/Shared/BossRoom.Shared.asmdef


"name": "BossRoom.Shared",
"rootNamespace": "",
"references": [
"GUID:1491147abca9d7d4bb7105af628b223e"
"GUID:1491147abca9d7d4bb7105af628b223e",
"Unity.Multiplayer.MultiPie.Editor"
],
"includePlatforms": [],
"excludePlatforms": [],

"defineConstraints": [],
"versionDefines": [],
"noEngineReferences": false
}
}

1
Packages/manifest.json


"com.unity.ide.visualstudio": "2.0.5",
"com.unity.ide.vscode": "1.2.3",
"com.unity.multiplayer.mlapi": "https://github.com/Unity-Technologies/com.unity.multiplayer.mlapi.git?path=/com.unity.multiplayer.mlapi#develop",
"com.unity.multiplayer.multipie": "git@github.com:Unity-Technologies/com.unity.multiplayer.multipie.git",
"com.unity.postprocessing": "2.3.0",
"com.unity.test-framework": "1.1.19",
"com.unity.textmeshpro": "3.0.1",

15
Assets/BossRoom/Scripts/Shared/SliceBehaviors/EmptySliceBehavior.cs


using Unity.MultiPie;
namespace BossRoom.Scripts.Shared.SliceBehaviors
{
public class EmptySliceBehavior : SliceBehavior
{
public override void OnAllSlicesStarted()
{
}
public override void OnSliceMessageReceived(int senderId, string message)
{
}
}
}

3
Assets/BossRoom/Scripts/Shared/SliceBehaviors/EmptySliceBehavior.cs.meta


fileFormatVersion: 2
guid: 7fcfa3b49eb94df7ab39b79cf6ece38c
timeCreated: 1610994500
正在加载...
取消
保存