Table of Contents

Class ResourceExportingModule

A CGModule that creates managed resources that can be exported

public abstract class ResourceExportingModule : CGModule
Inheritance
Object
Component
Behaviour
MonoBehaviour
DTVersionedMonoBehaviour
ResourceExportingModule
Derived
Inherited Members

Methods

SaveResourceToScene(Component, Transform)

Save a specific resource to the scene as a GameObject

protected abstract GameObject SaveResourceToScene(Component managedResource, Transform newParent)

Parameters

managedResource Component
newParent Transform

Returns

GameObject

The saved GameObject

SaveToScene(Transform)

Save the created resource(s) to the scene

public GameObject SaveToScene(Transform parent = null)

Parameters

parent Transform

the parent transform to which the saved resource(s) GameObject(s) will be attached. If null, saved resource(s) GameObject(s) will be at the hierarchy's root

Returns

GameObject

The created GameObject