// Use this for initialization void Awake() { Singleton = this; DontDestroyOnLoad(this.gameObject); AddMoreConnections = false; }
public static bool CheckWhetherJoyStickFinger(int fingerIndex, Vector2 fingerPos) { if (MapCameraConfig.IsInJoyStickArea(fingerPos)) { return(true); } return(false); }