Moving to flex, Hoping it would fix platform
This commit is contained in:
21
Assets/Scripts/NetSceneData.cs
Normal file
21
Assets/Scripts/NetSceneData.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
public class NetSceneData : MonoBehaviour
|
||||
{
|
||||
public Transform spawnPoint;
|
||||
public Transform doorExit;
|
||||
public Door door;
|
||||
void Awake()
|
||||
{
|
||||
SceneData.netSceneData = this;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public static class SceneData{
|
||||
public static NetSceneData netSceneData;
|
||||
public static ServerMetadata metadata;
|
||||
public static GameObject localPlayer;
|
||||
}
|
||||
Reference in New Issue
Block a user