⮞ Go to NeoFPS.com

    Show / Hide Table of Contents

    Class NeoSerializedGameObject

    Inheritance
    Object
    MonoBehaviour
    NeoSerializedGameObject
    Implements
    INeoSerializedSceneObject
    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()
    Namespace: NeoSaveGames.Serialization
    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
    public string prefabGuid
    Field Value
    Type Description
    System.String

    Properties

    filterChildObjects

    Declaration
    public NeoSerializationFilter filterChildObjects { get; set; }
    Property Value
    Type Description
    NeoSerializationFilter

    filterNeoComponents

    Declaration
    public NeoSerializationFilter filterNeoComponents { get; set; }
    Property Value
    Type Description
    NeoSerializationFilter

    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
    Type Description
    INeoSerializedGameObjectContainer

    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
    Type Description
    NeoSerializedGameObject

    EditorCheckHierarchy()

    Declaration
    public bool EditorCheckHierarchy()
    Returns
    Type Description
    System.Boolean

    EditorCheckPrefabID()

    Declaration
    public void EditorCheckPrefabID()

    GetParent()

    Declaration
    public NeoSerializedGameObject GetParent()
    Returns
    Type Description
    NeoSerializedGameObject

    GetParentContainer(out INeoSerializedGameObjectContainer, Boolean)

    Declaration
    public bool GetParentContainer(out INeoSerializedGameObjectContainer container, bool directTransformParentOnly)
    Parameters
    Type Name Description
    INeoSerializedGameObjectContainer container
    System.Boolean directTransformParentOnly
    Returns
    Type Description
    System.Boolean

    GetParentContainer(Transform, out INeoSerializedGameObjectContainer, Boolean)

    Declaration
    public bool GetParentContainer(Transform parentTransform, out INeoSerializedGameObjectContainer container, bool directTransformParentOnly)
    Parameters
    Type Name Description
    Transform parentTransform
    INeoSerializedGameObjectContainer container
    System.Boolean directTransformParentOnly
    Returns
    Type Description
    System.Boolean

    GetScene()

    Declaration
    public NeoSerializedScene GetScene()
    Returns
    Type Description
    NeoSerializedScene

    Initialise()

    Declaration
    public void Initialise()

    InstantiatePrefab<T>(T)

    Declaration
    public T InstantiatePrefab<T>(T prototype)
        where T : Component
    Parameters
    Type Name Description
    T prototype
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T

    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 Description
    T
    Type Parameters
    Name Description
    T

    InstantiatePrefab<T>(T, Component, Transform)

    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 Description
    T
    Type Parameters
    Name Description
    T

    InstantiatePrefab<T>(T, Component, Transform, Vector3, Quaternion, TranslationSpace)

    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 Description
    T
    Type Parameters
    Name Description
    T

    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 Description
    T
    Type Parameters
    Name Description
    T

    InstantiatePrefab<T>(T, Int32, Component, Transform)

    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 Description
    T
    Type Parameters
    Name Description
    T

    InstantiatePrefab<T>(T, Int32, Component, Transform, Vector3, Quaternion, TranslationSpace)

    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 Description
    T
    Type Parameters
    Name Description
    T

    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 Description
    T
    Type Parameters
    Name Description
    T

    OnValidate()

    Declaration
    public void OnValidate()

    ReadGameObjectHierarchy(INeoDeserializer)

    Declaration
    public void ReadGameObjectHierarchy(INeoDeserializer reader)
    Parameters
    Type Name Description
    INeoDeserializer reader

    ReadGameObjectProperties(INeoDeserializer)

    Declaration
    public void ReadGameObjectProperties(INeoDeserializer reader)
    Parameters
    Type Name Description
    INeoDeserializer reader

    SetParent(NeoSerializedGameObject)

    Declaration
    public void SetParent(NeoSerializedGameObject target)
    Parameters
    Type Name Description
    NeoSerializedGameObject target

    WriteGameObject(INeoSerializer, SaveMode)

    Declaration
    public void WriteGameObject(INeoSerializer writer, SaveMode saveMode)
    Parameters
    Type Name Description
    INeoSerializer writer
    SaveMode saveMode

    Implements

    INeoSerializedSceneObject
    Back to top Copyright © 2019 Yondernauts Game Studios Ltd
    Generated with DocFX