Property named `baseColor` not found in FSMState’s class base.

Forums đź’¬ NodeCanvas ⚙️ Support Property named `baseColor` not found in FSMState’s class base.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #15330
    mooninorbit
    Participant

      In the FSMState class there’s an overriden OnCreate method that throws an exception when building the game.

      public override void OnCreate(Graph assignedGraph) {
      base.customColor = new Color(1, 0.42f, 0.32f);
      }

      The property customColor does not exist. Commenting this line fixed the issue 🙂

      #15331
      Gavalakis
      Keymaster

        Hey sorry for the late reply due to summer vacation.

        Thanks for letting me know 🙂

      Viewing 2 posts - 1 through 2 (of 2 total)
      • You must be logged in to reply to this topic.