API


 

AltTrees.altTreesLoaded
 

public LoadedDelegate altTreesLoaded;

Description


Add a delegate to this to get notifications when a manager has initialized.

 

Example:

using UnityEngine;
using AltSystems.AltTrees;

public class ExampleLoadedDelegate : MonoBehaviour
{
    public AltTrees manager;

    void Start()
    {
        manager.altTreesLoaded += loaded;
    }

    void loaded(long mills)
    {
        Debug.Log("AltTrees Loading time: " + mills);
    }
}