edited July 2015 in Makinom Support
so im doing a change fields node to try to set my fps camera into my ui canvas component but for some reason "Render Camera" is not being found i got is property checked but still get this


Property not found (UnityEngine.Canvas): Render Camera
UnityEngine.Debug:LogWarning(Object)
Makinom.Reflection.SchematicFieldChange:Change(Object, Type, Schematic, Boolean)
Makinom.Reflection.SchematicChangeFields:Change(GameObject, Schematic, Boolean)
Makinom.Schematics.Nodes.ChangeFieldsNode:Continue(Schematic)
Makinom.Schematics.Nodes.ChangeFieldsNode:Execute(Schematic)
Makinom.Schematics.Schematic:ExecuteNextNode()
Makinom.Schematics.Schematic:NodeFinished(Int32)
Makinom.Schematics.Nodes.SearchObjectsNode:Execute(Schematic)
Makinom.Schematics.Schematic:ExecuteNextNode()
Makinom.Schematics.Schematic:Start()
Makinom.Schematics.CoreSchematic:PlaySchematic(IExecutionStarter, GameObject, GameObject, Boolean, MachineUpdateType)
Makinom.Behaviours.BaseMachineComponent:StartMachine(Schematic, GameObject)
Makinom.Behaviours.BaseMachineComponent:StartMachine(GameObject, VariableHandler)
Makinom.Behaviours.d__0:MoveNext()


ive tried both Render Camera and RenderCamera an still cant get the property to be found -_-
Post edited by wtyson on
new website can be found here http://www.fore-loregames.com

Follow the game Development on Twitter https://twitter.com/Fore_Lore_Games

or check out the face book page here https://www.facebook.com/ForeLoreGames
  • There are no spaces in class, field or property (or any scripting) names.

    What property of which class/component are you trying to use?
    Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found.
    If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
  • class : Canvas

    property : Render Camera

    trying to add my cam tot he canvas when my player spawns
    new website can be found here http://www.fore-loregames.com

    Follow the game Development on Twitter https://twitter.com/Fore_Lore_Games

    or check out the face book page here https://www.facebook.com/ForeLoreGames
  • been searching all over the damn api but cant seem to find it. the canvas section says its Canvas Render
    new website can be found here http://www.fore-loregames.com

    Follow the game Development on Twitter https://twitter.com/Fore_Lore_Games

    or check out the face book page here https://www.facebook.com/ForeLoreGames
  • Well, there is no render camera property in the canvas class - see the Unity API.
    Maybe you want the worldCamera property?
    Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found.
    If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
  • tried itsays it cant change it sec ill get the warning for that to


    Property change failed (UnityEngine.Canvas): worldCamera
    failed to convert parameters
    at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00063] in /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:192
    at System.Reflection.MonoProperty.SetValue (System.Object obj, System.Object value, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] index, System.Globalization.CultureInfo culture) [0x00064] in /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.Reflection/MonoProperty.cs:348
    at System.Reflection.PropertyInfo.SetValue (System.Object obj, System.Object value, System.Object[] index) [0x00000] in /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.Reflection/PropertyInfo.cs:102
    at Makinom.Reflection.SchematicFieldChange.Change (System.Object instance, System.Type instanceType, Makinom.Schematics.Schematic schematic, Boolean isStatic) [0x00000] in :0
    UnityEngine.Debug:LogWarning(Object)
    Makinom.Reflection.SchematicFieldChange:Change(Object, Type, Schematic, Boolean)
    Makinom.Reflection.SchematicChangeFields:Change(GameObject, Schematic, Boolean)
    Makinom.Schematics.Nodes.ChangeFieldsNode:Continue(Schematic)
    Makinom.Schematics.Nodes.ChangeFieldsNode:Execute(Schematic)
    Makinom.Schematics.Schematic:ExecuteNextNode()
    Makinom.Schematics.Schematic:NodeFinished(Int32)
    Makinom.Schematics.Nodes.SearchObjectsNode:Execute(Schematic)
    Makinom.Schematics.Schematic:ExecuteNextNode()
    Makinom.Schematics.Schematic:Start()
    Makinom.Schematics.CoreSchematic:PlaySchematic(IExecutionStarter, GameObject, GameObject, Boolean, MachineUpdateType)
    Makinom.Behaviours.BaseMachineComponent:StartMachine(Schematic, GameObject)
    Makinom.Behaviours.BaseMachineComponent:StartMachine(GameObject, VariableHandler)
    Makinom.Behaviours.d__0:MoveNext()
    new website can be found here http://www.fore-loregames.com

    Follow the game Development on Twitter https://twitter.com/Fore_Lore_Games

    or check out the face book page here https://www.facebook.com/ForeLoreGames
  • screenshot of the node :o

    image
    new website can be found here http://www.fore-loregames.com

    Follow the game Development on Twitter https://twitter.com/Fore_Lore_Games

    or check out the face book page here https://www.facebook.com/ForeLoreGames
  • Yes, that wont work - the property is a Camera, but you can't use that in the funciton nodes.
    Will require an update, either new step for doing that or support for components as parameters :)
    Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found.
    If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
  • ok cool thanks!
    new website can be found here http://www.fore-loregames.com

    Follow the game Development on Twitter https://twitter.com/Fore_Lore_Games

    or check out the face book page here https://www.facebook.com/ForeLoreGames
Sign In or Register to comment.