Пример #1
0
    // Use this for initialization
    void Awake()
    {
        Singleton = this;
        DontDestroyOnLoad(this.gameObject);

        AddMoreConnections = false;
    }
Пример #2
0
 public static bool CheckWhetherJoyStickFinger(int fingerIndex, Vector2 fingerPos)
 {
     if (MapCameraConfig.IsInJoyStickArea(fingerPos))
     {
         return(true);
     }
     return(false);
 }