protected virtual void Awake() { if (COMPONENT_DATABASE == null) { COMPONENT_DATABASE = FindObjectOfType <GoapWorldComponentDatabase>(); } }
protected virtual void Start() { m_Preconditions = new Dictionary <string, object>(); m_Effects = new Dictionary <string, object>(); if (COMPONENT_DATABASE == null) { COMPONENT_DATABASE = FindObjectOfType <GoapWorldComponentDatabase>(); } }