PropDef[] GetExportedPropDefs() { string json = behaviorSystem.GetBehaviorPropertiesJson(behaviorUri); if (json.IsNullOrEmpty()) { return(new PropDef[0]); } return(JsonUtility.FromJson <PropDefsWrapper>(json).props); }
PropDef[] GetExportedPropDefs() { string json = behaviorSystem.GetBehaviorPropertiesJson(behaviorUri); if (json.IsNullOrEmpty()) { return(new PropDef[0]); } return(JsonUtility.FromJson <PropDefsWrapper>(json).props); }