C# Class CompHelper, urban-survivors

显示文件 Open project: exdev/urban-survivors Class Usage Examples

Public Methods

Method Description
Copy ( Component _src, Component _dest ) : bool

Private Methods

Method Description
CopyAnimation ( Animation _src, Animation _dest ) : bool
CopyBoxCollider ( BoxCollider _src, BoxCollider _dest ) : bool
CopyCapsuleCollider ( CapsuleCollider _src, CapsuleCollider _dest ) : bool
CopyCharacterController ( CharacterController _src, CharacterController _dest ) : bool
CopyCharacterJoint ( CharacterJoint _src, CharacterJoint _dest ) : bool
CopyCommon ( Component _src, Component _dest ) : bool
CopyMeshCollider ( MeshCollider _src, MeshCollider _dest ) : bool
CopyRigidbody ( Rigidbody _src, Rigidbody _dest ) : bool
CopySkinnedMeshRenderer ( SkinnedMeshRenderer _src, SkinnedMeshRenderer _dest ) : bool
CopySphereCollider ( SphereCollider _src, SphereCollider _dest ) : bool
CopyTransform ( Transform _src, Transform _dest ) : bool
CopyWheelCollider ( WheelCollider _src, WheelCollider _dest ) : bool

Method Details

Copy() static public method

static public Copy ( Component _src, Component _dest ) : bool
_src Component
_dest Component
return bool