Class NeoSerializedGameObject
Inheritance
NeoSerializedGameObject
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: NeoFPS.dll
Syntax
public sealed class NeoSerializedGameObject : MonoBehaviour, INeoSerializedSceneObject
Fields
expandChildObjects
Declaration
public bool expandChildObjects
Field Value
| Type |
Description |
| System.Boolean |
|
expandNeoComponents
Declaration
public bool expandNeoComponents
Field Value
| Type |
Description |
| System.Boolean |
|
expandNestedObjectList
Declaration
public bool expandNestedObjectList
Field Value
| Type |
Description |
| System.Boolean |
|
expandOtherComponents
Declaration
public bool expandOtherComponents
Field Value
| Type |
Description |
| System.Boolean |
|
prefabGuid
Declaration
Field Value
| Type |
Description |
| System.String |
|
Properties
filterChildObjects
Declaration
public NeoSerializationFilter filterChildObjects { get; set; }
Property Value
filterNeoComponents
Declaration
public NeoSerializationFilter filterNeoComponents { get; set; }
Property Value
initialised
Declaration
public bool initialised { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
instantiatedPrefabRoot
Declaration
public bool instantiatedPrefabRoot { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
isDestroyed
Declaration
public bool isDestroyed { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
isPrefabRoot
Declaration
public bool isPrefabRoot { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
nestedObjects
Declaration
public INeoSerializedGameObjectContainer nestedObjects { get; }
Property Value
prefabStrongID
Declaration
public int prefabStrongID { get; }
Property Value
| Type |
Description |
| System.Int32 |
|
registered
Declaration
public bool registered { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
saveName
Declaration
public bool saveName { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
serializationKey
Declaration
public int serializationKey { get; }
Property Value
| Type |
Description |
| System.Int32 |
|
wasCreatedByScript
Declaration
public bool wasCreatedByScript { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
wasRuntimeInstantiated
Declaration
public bool wasRuntimeInstantiated { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
Methods
CheckWillBeSerialized()
Declaration
public bool CheckWillBeSerialized()
Returns
| Type |
Description |
| System.Boolean |
|
CreateNewChildObject(String, Int32)
Declaration
public NeoSerializedGameObject CreateNewChildObject(string name, int key = 0)
Parameters
| Type |
Name |
Description |
| System.String |
name |
|
| System.Int32 |
key |
|
Returns
EditorCheckHierarchy()
Declaration
public bool EditorCheckHierarchy()
Returns
| Type |
Description |
| System.Boolean |
|
EditorCheckPrefabID()
Declaration
public void EditorCheckPrefabID()
GetParent()
Declaration
public NeoSerializedGameObject GetParent()
Returns
GetParentContainer(out INeoSerializedGameObjectContainer, Boolean)
Declaration
public bool GetParentContainer(out INeoSerializedGameObjectContainer container, bool directTransformParentOnly)
Parameters
Returns
| Type |
Description |
| System.Boolean |
|
Declaration
public bool GetParentContainer(Transform parentTransform, out INeoSerializedGameObjectContainer container, bool directTransformParentOnly)
Parameters
Returns
| Type |
Description |
| System.Boolean |
|
GetScene()
Declaration
public NeoSerializedScene GetScene()
Returns
Initialise()
Declaration
InstantiatePrefab<T>(T)
Declaration
public T InstantiatePrefab<T>(T prototype)
where T : Component
Parameters
| Type |
Name |
Description |
| T |
prototype |
|
Returns
Type Parameters
InstantiatePrefab<T>(T, Component)
Declaration
public static T InstantiatePrefab<T>(T prototype, Component source)
where T : Component
Parameters
| Type |
Name |
Description |
| T |
prototype |
|
| Component |
source |
|
Returns
Type Parameters
Declaration
public static T InstantiatePrefab<T>(T prototype, Component source, Transform parent)
where T : Component
Parameters
| Type |
Name |
Description |
| T |
prototype |
|
| Component |
source |
|
| Transform |
parent |
|
Returns
Type Parameters
Declaration
public static T InstantiatePrefab<T>(T prototype, Component source, Transform parent, Vector3 position, Quaternion rotation, TranslationSpace space = TranslationSpace.Local)
where T : Component
Parameters
| Type |
Name |
Description |
| T |
prototype |
|
| Component |
source |
|
| Transform |
parent |
|
| Vector3 |
position |
|
| Quaternion |
rotation |
|
| TranslationSpace |
space |
|
Returns
Type Parameters
InstantiatePrefab<T>(T, Int32, Component)
Declaration
public static T InstantiatePrefab<T>(T prototype, int serializationKey, Component source)
where T : Component
Parameters
| Type |
Name |
Description |
| T |
prototype |
|
| System.Int32 |
serializationKey |
|
| Component |
source |
|
Returns
Type Parameters
Declaration
public static T InstantiatePrefab<T>(T prototype, int serializationKey, Component source, Transform parent)
where T : Component
Parameters
| Type |
Name |
Description |
| T |
prototype |
|
| System.Int32 |
serializationKey |
|
| Component |
source |
|
| Transform |
parent |
|
Returns
Type Parameters
Declaration
public static T InstantiatePrefab<T>(T prototype, int serializationKey, Component source, Transform parent, Vector3 position, Quaternion rotation, TranslationSpace space = TranslationSpace.Local)
where T : Component
Parameters
| Type |
Name |
Description |
| T |
prototype |
|
| System.Int32 |
serializationKey |
|
| Component |
source |
|
| Transform |
parent |
|
| Vector3 |
position |
|
| Quaternion |
rotation |
|
| TranslationSpace |
space |
|
Returns
Type Parameters
InstantiatePrefab<T>(T, Vector3, Quaternion)
Declaration
public T InstantiatePrefab<T>(T prototype, Vector3 position, Quaternion rotation)
where T : Component
Parameters
| Type |
Name |
Description |
| T |
prototype |
|
| Vector3 |
position |
|
| Quaternion |
rotation |
|
Returns
Type Parameters
OnValidate()
Declaration
ReadGameObjectHierarchy(INeoDeserializer)
Declaration
public void ReadGameObjectHierarchy(INeoDeserializer reader)
Parameters
ReadGameObjectProperties(INeoDeserializer)
Declaration
public void ReadGameObjectProperties(INeoDeserializer reader)
Parameters
SetParent(NeoSerializedGameObject)
Declaration
public void SetParent(NeoSerializedGameObject target)
Parameters
WriteGameObject(INeoSerializer, SaveMode)
Declaration
public void WriteGameObject(INeoSerializer writer, SaveMode saveMode)
Parameters
Implements