81 lines
2.1 KiB
Plaintext
81 lines
2.1 KiB
Plaintext
%YAML 1.1
|
|
%TAG !u! tag:unity3d.com,2011:
|
|
--- !u!1 &100000
|
|
GameObject:
|
|
m_ObjectHideFlags: 0
|
|
m_PrefabParentObject: {fileID: 0}
|
|
m_PrefabInternal: {fileID: 100100000}
|
|
serializedVersion: 4
|
|
m_Component:
|
|
- 4: {fileID: 400000}
|
|
- 114: {fileID: 11400002}
|
|
- 114: {fileID: 11400000}
|
|
m_Layer: 0
|
|
m_Name: SpawnSystem Template
|
|
m_TagString: Untagged
|
|
m_Icon: {fileID: 0}
|
|
m_NavMeshLayer: 0
|
|
m_StaticEditorFlags: 0
|
|
m_IsActive: 1
|
|
--- !u!4 &400000
|
|
Transform:
|
|
m_ObjectHideFlags: 1
|
|
m_PrefabParentObject: {fileID: 0}
|
|
m_PrefabInternal: {fileID: 100100000}
|
|
m_GameObject: {fileID: 100000}
|
|
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
|
m_LocalPosition: {x: 0, y: 0, z: 0}
|
|
m_LocalScale: {x: 1, y: 1, z: 1}
|
|
m_Children: []
|
|
m_Father: {fileID: 0}
|
|
--- !u!114 &11400000
|
|
MonoBehaviour:
|
|
m_ObjectHideFlags: 1
|
|
m_PrefabParentObject: {fileID: 0}
|
|
m_PrefabInternal: {fileID: 100100000}
|
|
m_GameObject: {fileID: 100000}
|
|
m_Enabled: 1
|
|
m_EditorHideFlags: 0
|
|
m_Script: {fileID: 11500000, guid: ec1683be71e02f548b9023d92d51ac31, type: 3}
|
|
m_Name:
|
|
m_EditorClassIdentifier:
|
|
objectsToPreload: []
|
|
objectsToPreloadTimes:
|
|
hideObjectsInHierarchy: 0
|
|
--- !u!114 &11400002
|
|
MonoBehaviour:
|
|
m_ObjectHideFlags: 1
|
|
m_PrefabParentObject: {fileID: 0}
|
|
m_PrefabInternal: {fileID: 100100000}
|
|
m_GameObject: {fileID: 100000}
|
|
m_Enabled: 1
|
|
m_EditorHideFlags: 0
|
|
m_Script: {fileID: 11500000, guid: 79c859f5f7a87c8438b7a5e91d7f499e, type: 3}
|
|
m_Name:
|
|
m_EditorClassIdentifier:
|
|
Locked: 1
|
|
Title: SPAWN SYSTEM TEMPLATE
|
|
HelpText: 'Drop this template in your Scene and drag/drop the effect Prefabs you
|
|
want to preload on the CFX_SpawnSystem inspector.
|
|
|
|
|
|
You can then use:
|
|
|
|
CFX_SpawnSystem.GetNextObject(prefab);
|
|
|
|
to get instances from the pool, where prefab is a reference to any Prefab you
|
|
dropped on the CFX_SpawnSystem inspector.'
|
|
MsgType: 1
|
|
--- !u!1001 &100100000
|
|
Prefab:
|
|
m_ObjectHideFlags: 1
|
|
serializedVersion: 2
|
|
m_Modification:
|
|
m_TransformParent: {fileID: 0}
|
|
m_Modifications: []
|
|
m_RemovedComponents: []
|
|
m_ParentPrefab: {fileID: 0}
|
|
m_RootGameObject: {fileID: 100000}
|
|
m_IsPrefabParent: 1
|
|
m_IsExploded: 1
|