예제 #1
0
        public static void CreateVFXMesh()
        {
            GameObject go     = new GameObject("VFX Mesh");
            VFXMesh    newVfx = go.AddComponent <VFXMesh>();

            EditorGUIUtility.PingObject(newVfx);
            Selection.activeTransform = newVfx.transform;
        }
예제 #2
0
 private void OnEnable()
 {
     m = (VFXMesh)target;
 }