Tanoda
GILES.Serialization.pb_MeshCollider Class Reference
Inheritance diagram for GILES.Serialization.pb_MeshCollider:
GILES.Serialization.pb_SerializableObject< UnityEngine.MeshCollider >

Public Member Functions

 pb_MeshCollider (UnityEngine.MeshCollider obj)
 
 pb_MeshCollider (SerializationInfo info, StreamingContext context)
 
override Dictionary< string, object > PopulateSerializableDictionary ()
 
- Public Member Functions inherited from GILES.Serialization.pb_SerializableObject< UnityEngine.MeshCollider >
 pb_SerializableObject (T obj)
 
 pb_SerializableObject (SerializationInfo info, StreamingContext context)
 
object GetObject (string key)
 
void GetObjectData (SerializationInfo info, StreamingContext context)
 
virtual void ApplyProperties (object obj)
 Called after an object is deserialized and constructed to it's base type. More...
 
virtual Dictionary< string, object > PopulateSerializableDictionary ()
 

Additional Inherited Members

- Static Public Member Functions inherited from GILES.Serialization.pb_SerializableObject< UnityEngine.MeshCollider >
static operator T (pb_SerializableObject< T > obj)
 
- Protected Attributes inherited from GILES.Serialization.pb_SerializableObject< UnityEngine.MeshCollider >
target
 A reference to the component being serialized. Will be null on deserialization. More...
 
Dictionary< string, object > reflectedProperties
 A key-value store of all serializable properties and fields on this object. Populated on serialization & deserialization. More...
 
- Properties inherited from GILES.Serialization.pb_SerializableObject< UnityEngine.MeshCollider >
Type type [get, set]
 The type of component stored. More...
 

Detailed Description

Specialized component wrapper for serializing and deserializing MeshCollider components.

Definition at line 12 of file pb_MeshCollider.cs.

Constructor & Destructor Documentation

◆ pb_MeshCollider() [1/2]

GILES.Serialization.pb_MeshCollider.pb_MeshCollider ( UnityEngine.MeshCollider  obj)

Definition at line 14 of file pb_MeshCollider.cs.

◆ pb_MeshCollider() [2/2]

GILES.Serialization.pb_MeshCollider.pb_MeshCollider ( SerializationInfo  info,
StreamingContext  context 
)

Definition at line 15 of file pb_MeshCollider.cs.

Member Function Documentation

◆ PopulateSerializableDictionary()

override Dictionary< string, object > GILES.Serialization.pb_MeshCollider.PopulateSerializableDictionary ( )
virtual

If sharedMesh points to the meshfilter on the same gameobject, skip serializing and on reconstruct point to the instance.

Reimplemented from GILES.Serialization.pb_SerializableObject< UnityEngine.MeshCollider >.

Definition at line 17 of file pb_MeshCollider.cs.


The documentation for this class was generated from the following file: