예제 #1
0
        private static void CreateMenuItem()
        {
            var parent       = SgtHelper.GetSelectedParent();
            var starfieldBox = Create(parent != null ? parent.gameObject.layer : 0, parent);

            SgtHelper.SelectAndPing(starfieldBox);
        }
예제 #2
0
        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);
        }
예제 #4
0
        private static void CreateMenuItem()
        {
            var parent   = SgtHelper.GetSelectedParent();
            var backdrop = Create(parent != null ? parent.gameObject.layer : 0, parent);

            SgtHelper.SelectAndPing(backdrop);
        }
예제 #5
0
        public static void CreateItem()
        {
            var parent    = SgtHelper.GetSelectedParent();
            var spacetime = Create(parent != null ? parent.gameObject.layer : 0, parent);

            SgtHelper.SelectAndPing(spacetime);
        }
예제 #6
0
        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);
        }