Esempio n. 1
0
 void FindMergingTerrain(PlaytimePainter painter)
 {
     if (!mergingTerrain && painter.terrain)
     {
         mergingTerrain = painter.GetComponent <MergingTerrainController>();
     }
 }
Esempio n. 2
0
        public override bool BrushConfigPEGI()
        {
            var changed = false;

            var painter = PlaytimePainter.inspected;

            FindMergingTerrain(painter);

            if (mergingTerrain)
            {
                MergingTerrainController.PluginInspectPart().nl(ref changed);
            }

            return(changed);
        }