Time Rewizer  v.1.1
Created by: Mark Oostveen
MarkOostveen.TimeRewizer.Editor.Baking.BaseBaker Class Reference

base class for custom inspector link to baking rewinding objects More...

+ Collaboration diagram for MarkOostveen.TimeRewizer.Editor.Baking.BaseBaker:

Public Member Functions

void Initialize (Object linkedobject)
 Initialization when viewing this behaviour More...
 

Package Attributes

Object m_Linkedobject
 
ScriptableBake m_Scriptable
 

Detailed Description

base class for custom inspector link to baking rewinding objects

Member Function Documentation

◆ Initialize()

void MarkOostveen.TimeRewizer.Editor.Baking.BaseBaker.Initialize ( Object  linkedobject)

Initialization when viewing this behaviour

Parameters
linkedobject
23  {
24  m_Linkedobject = linkedobject;
25  if (m_Scriptable == null)
26  {
27  EditorRewizerDebug.Log("Getting Bake object for " + linkedobject.GetType());
28  m_Scriptable = EditorRewizeSystemUtility.GetBake(linkedobject.name);
29 
30  if (m_Scriptable == null)
31  {
32  EditorRewizerDebug.Log("can't find bake, creating a new one...");
33  m_Scriptable = EditorRewizeSystemUtility.Createbake(linkedobject.name);
34  }
35  }
36  }
+ Here is the call graph for this function:

Member Data Documentation

◆ m_Linkedobject

Object MarkOostveen.TimeRewizer.Editor.Baking.BaseBaker.m_Linkedobject
package

◆ m_Scriptable

ScriptableBake MarkOostveen.TimeRewizer.Editor.Baking.BaseBaker.m_Scriptable
package