protected void OnDestroy() { if (current == this) { current = null; } }
protected void Start() { var terrain = GetCurrentTerrain(); if (terrain) { splatMap.Initialize(terrain); vegetationMap.Initialize(); current = this; } }