Exemplo n.º 1
0
    public void Start()
    {
        Global.Instance().Memory.RegisterMemoryPopulater(this);
        DebugMapMarker debugMap = FindObjectOfType <DebugMapMarker>();

        if (debugMap != null)
        {
            ActiveMap = FindObjectOfType <Map>();
            Avatar    = ActiveMap.GetComponentInChildren <AvatarEvent>();
        }
    }
Exemplo n.º 2
0
 public void Start()
 {
     ActiveMap = FindObjectOfType <Map>();
     Avatar    = ActiveMap?.GetComponentInChildren <AvatarEvent>();
 }