/// </remarks>
///
///
- public class ScriptableProperty : System.Attribute
+ internal class ScriptableProperty : System.Attribute
{
public enum ScriptableType
{
///
///
/// </summary>
- public sealed class ViewRegistry
+ internal sealed class ViewRegistry
{
/// <summary>
/// ViewRegistry is a singleton
if ( type.Equals (typeof(Int32)) )
{
int value = 0;
- ok = propValue.Get( ref value );
+ ok = propValue.Get( out value );
if ( ok )
{
propertyInfo.SetValue (view, value);
else if ( type.Equals (typeof(bool)) )
{
bool value = false;
- ok = propValue.Get( ref value );
+ ok = propValue.Get( out value );
if ( ok )
{
propertyInfo.SetValue (view, value);
else if ( type.Equals (typeof(float)) )
{
float value = 0;
- ok = propValue.Get( ref value );
+ ok = propValue.Get( out value );
if ( ok )
{
propertyInfo.SetValue (view, value);