void Awake() { if (instance == null) { instance = this; } else if (instance != null) { Destroy(gameObject); } DontDestroyOnLoad(gameObject); if (Wallet == null) { this.Wallet = new Wallet(); } }
static bool Prefix(FarmerPlayer __instance) { __instance.SetMoveBaseDelay(0.05f); return(false); }