コード例 #1
0
 void IEndStageClient.OnEndStageClient()
 {
     if (isServer)
     {
         FindObjectsOfType <PlayerPointer> ().ToList().ForEach(pp => pp.AgreeCheck = false);
     }
     moveWay = NullWay.Singleton;
 }
コード例 #2
0
 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);
     }
 }