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