예제 #1
0
    PropDef[] GetExportedPropDefs()
    {
        string json = behaviorSystem.GetBehaviorPropertiesJson(behaviorUri);

        if (json.IsNullOrEmpty())
        {
            return(new PropDef[0]);
        }
        return(JsonUtility.FromJson <PropDefsWrapper>(json).props);
    }