edited April 2023 in ORK Scripting
I am trying to reference the Object Variables component on my player prefab via script but I can't get it to recognize the component type. I am using GamingIsLove.ORKFramework and GamingIsLove.Makinom;

gameObject.GetComponent<ObjectVariablesComponent>()

just gives an error from the component name. Any suggestions on what I am missing?
Post edited by shortyyard on
  • Solution:

    I didn't realize that you have to specify
    using GamingIsLove.Makinom.Components

    Just GamingIsLove.Makinom doesn't include the component definitions.
  • Your scripting IDE (e.g. Visual Studio) usually will offer solutions for these kind of issues if you hover the cursor over the problem :)
    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!
Sign In or Register to comment.