// Use this for initialization
    void Awake()
    {
        Singleton = this;
        DontDestroyOnLoad(this.gameObject);

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