Пример #1
0
    public override void InnerBeginn()
    {
        // If values are correct
        if (tree.AttachedBrain.TryGetComponent(out toy) == false ||
            resourceValue.TryGetValue(out resource) == false)
        {
            return;
        }

        success = resource.CheckCollectionRequirements(toy);
    }