protected override void Start() { base.Start(); this.preConditions["has" + typeof(TResource).Name] = true; this.preConditions["know" + typeof(TDestination).Name] = true; this.effects["collect" + typeof(TResource).Name] = true; _resourceMemory = GetComponent <ResourceMemoryComponent>(); }
protected override void Start() { base.Start(); this.preConditions["know" + typeof(TSource).Name] = true; this.preConditions["has" + typeof(TOutput).Name] = false; this.effects["know" + typeof(TOutput).Name] = true; _resourceMemory = GetComponent <ResourceMemoryComponent>(); }