protected override void Initialize() { if (TestAppliedSkins == null) { TestAppliedSkins = new List<NetworkSkin>(); } AppliedSkins = TestAppliedSkins; if (TestSegmentSkins == null) { TestSegmentSkins = new NetworkSkin[global::NetManager.MAX_SEGMENT_COUNT]; } SegmentSkins = TestSegmentSkins; if (TestNodeSkins == null) { TestNodeSkins = new NetworkSkin[global::NetManager.MAX_NODE_COUNT]; } NodeSkins = TestNodeSkins; PrefabCollection = TestPrefabCollection.FindInstance(); NetManager = new TestNetManager(); }
public TestNetManager() { _prefabs = TestPrefabCollection.FindInstance(); }