private static void CreateMenuItem() { var parent = SgtHelper.GetSelectedParent(); var starfieldBox = Create(parent != null ? parent.gameObject.layer : 0, parent); SgtHelper.SelectAndPing(starfieldBox); }
public static void CreateMenuItem() { var parent = SgtHelper.GetSelectedParent(); var ring = Create(parent != null ? parent.gameObject.layer : 0, parent); SgtHelper.SelectAndPing(ring); }
public static void CreateMenuItem() { var parent = SgtHelper.GetSelectedParent(); var lightningSpawner = Create(parent != null ? parent.gameObject.layer : 0, parent); SgtHelper.SelectAndPing(lightningSpawner); }
private static void CreateMenuItem() { var parent = SgtHelper.GetSelectedParent(); var backdrop = Create(parent != null ? parent.gameObject.layer : 0, parent); SgtHelper.SelectAndPing(backdrop); }
public static void CreateItem() { var parent = SgtHelper.GetSelectedParent(); var spacetime = Create(parent != null ? parent.gameObject.layer : 0, parent); SgtHelper.SelectAndPing(spacetime); }
public static void CreateMenuItem() { var parent = SgtHelper.GetSelectedParent(); var instance = Create(parent != null ? parent.gameObject.layer : 0, parent); instance.cachedMeshFilter.sharedMesh = SgtHelper.LoadFirstAsset <Mesh>("Geosphere40 t:mesh"); SgtHelper.SelectAndPing(instance); }