public static void DrawSphere(string name, Vector3 pos, float radius, Color color = new Color(), bool additive = false)
        {
            SphereGizmo gizmo = new SphereGizmo()
            {
                pos = pos, radius = radius
            };

            AddGizmo(name, gizmo, color, clearOthers: !additive);
        }
Example #2
0
 private static void CreateGizmo(CreatureSpawner __instance)
 {
     SphereGizmo.Create(__instance.transform.position, 3, Color.yellow);
 }