C# Класс FullInspector.BaseNetworkBehavior

Provides a better inspector and serialization experience in Unity.
We don't serialize anything in this type through Json.NET, as we recover the Json.NET serialized data via Unity serialization
Наследование: NetworkBehaviour, ISerializedObject, ISerializationCallbackReceiver
Показать файл Открыть проект

Private Properties

Свойство Тип Описание
BaseNetworkBehavior System.Collections.Generic
ISerializationCallbackReceiver void
RestoreState void
SaveState void

Защищенные методы

Метод Описание
Awake ( ) : void

This awake base method calls RestoreState() by default. If you override this method, it is *critically* important that this be the first call made in your Awake method. If it is not, then your component may not be deserialized when you go to access values.

OnValidate ( ) : void

This base method ensures that the object is fully deserialized before running actual validation code.

Приватные методы

Метод Описание
BaseNetworkBehavior ( ) : System.Collections.Generic
ISerializationCallbackReceiver ( ) : void
RestoreState ( ) : void
SaveState ( ) : void

Описание методов

Awake() защищенный Метод

This awake base method calls RestoreState() by default. If you override this method, it is *critically* important that this be the first call made in your Awake method. If it is not, then your component may not be deserialized when you go to access values.
protected Awake ( ) : void
Результат void

OnValidate() защищенный Метод

This base method ensures that the object is fully deserialized before running actual validation code.
protected OnValidate ( ) : void
Результат void