Beispiel #1
0
    void Awake()
    {
        if (instance == null)
        {
            instance = this;
        }
        else if (instance != null)
        {
            Destroy(gameObject);
        }
        DontDestroyOnLoad(gameObject);

        if (Wallet == null)
        {
            this.Wallet = new Wallet();
        }
    }
Beispiel #2
0
 static bool Prefix(FarmerPlayer __instance)
 {
     __instance.SetMoveBaseDelay(0.05f);
     return(false);
 }