void IEndStageClient.OnEndStageClient() { if (isServer) { FindObjectsOfType <PlayerPointer> ().ToList().ForEach(pp => pp.AgreeCheck = false); } moveWay = NullWay.Singleton; }
public void SetGetPosWay() { if (Application.platform == RuntimePlatform.WindowsEditor || Application.platform == RuntimePlatform.OSXEditor || Application.platform == RuntimePlatform.WindowsPlayer || Application.platform == RuntimePlatform.OSXPlayer) { moveWay = new MouseWay(10f, Camera.main); } else { moveWay = new TouchWay(10f, Camera.main); } }