protected virtual void Start() { if (parentMap != null) { parentMap.AddInfluenceSource(this); } else { Debug.LogWarning("No Influence map for influence source, source is destroyed!"); Destroy(this); } }
protected virtual void Start() { if (parentMap != null) { parentMap.AddInfluenceSource(this); } else { Debug.LogWarning("No Influence map for influence source, source is destroyed!"); Destroy(this); } }