//Returns the blueprint node get get local rotation output attribute
 public override object GetAttribute()
 {
     //Return output attribute
     return(BlueprintInstanceManager.GetBlueprintParentAt(blueprintID).transform.localRotation.eulerAngles);
 }
Esempio n. 2
0
 //Returns the blueprint node get get position output attribute
 public override object GetAttribute()
 {
     //Return output attribute
     return(BlueprintInstanceManager.GetBlueprintParentAt(blueprintID).transform.position);
 }
 //Initializes the blueprint node blueprint for runtime
 public override void RuntimeInitialize()
 {
     //Runtime initialize the blueprint node blueprint
     customBlueprintID = BlueprintInstanceManager.CreateBlueprint(blueprintFilepath, blueprintJSON, BlueprintInstanceManager.GetBlueprintParentAt(blueprintID));
 }