mirror of
https://github.com/RHeavenStudio/HeavenStudio.git
synced 2025-06-12 08:17:38 +02:00
Small Fixes (#609)
* additive angle in rhythm rally * remove old keyboard controller compat * fix control style dropdowns * using mouse on title screen selects keyboard instead default to keyboard for invalid controllers * temporarily ditch discord RPC we need a new API key lol * remove this discord call too * certain editor shortcuts now exit fullscreen fix color hex input not locking editor shortcuts * increase max queued frames turns out this may not be an issue for audio rhythm games
This commit is contained in:
@ -25,10 +25,15 @@ namespace HeavenStudio.Editor
|
||||
|
||||
public void AddParam(RemixPropertiesDialog diag, string propertyName, object type, string caption, bool isReadOnly = false, string tooltip = "")
|
||||
{
|
||||
if (!Minigames.propertiesModel.ContainsKey(propertyName))
|
||||
{
|
||||
Debug.LogError("Property " + propertyName + " does not exist!");
|
||||
return;
|
||||
}
|
||||
GameObject prefab = diag.IntegerP;
|
||||
GameObject input;
|
||||
|
||||
var objType = type.GetType();
|
||||
var objType = Minigames.propertiesModel[propertyName].GetType();
|
||||
|
||||
if (objType == typeof(EntityTypes.Integer))
|
||||
{
|
||||
@ -83,13 +88,13 @@ namespace HeavenStudio.Editor
|
||||
property.SetProperties(diag, propertyName, type, caption);
|
||||
break;
|
||||
default:
|
||||
Debug.LogError("Can't make property interface of type: " + type.GetType());
|
||||
Debug.LogError("Can't make property interface of type: " + objType);
|
||||
return;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
Debug.LogError("Can't make property interface of type: " + type.GetType());
|
||||
Debug.LogError("Can't make property interface of type: " + objType);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user