Chloroplast Games Framework
Assets.CGF.Editor.CGFComponentCopier Class Reference

Manages the component copy-paste. More...

Inheritance diagram for Assets.CGF.Editor.CGFComponentCopier:

Static Public Member Functions

static void PasteAsNew< T > ()
 Adds to the Gameobject a new component with the copied values. More...
 
static void Paste ()
 Paste the copied component values. More...
 

Static Private Attributes

static Component copiedComponent
 Copied Component. More...
 

Detailed Description

Manages the component copy-paste.

Member Function Documentation

static void Assets.CGF.Editor.CGFComponentCopier.Paste ( )
static

Paste the copied component values.

static void Assets.CGF.Editor.CGFComponentCopier.PasteAsNew< T > ( )
static

Adds to the Gameobject a new component with the copied values.

Template Parameters
TNew compoennt type.
Type Constraints
T :Component 

Member Data Documentation

Component Assets.CGF.Editor.CGFComponentCopier.copiedComponent
staticprivate

Copied Component.


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