playMaker

Author Topic: Check Mesh Renderer  (Read 153 times)

Sergey_Russia

  • Playmaker Newbie
  • *
  • Posts: 12
    • View Profile
Check Mesh Renderer
« on: March 22, 2019, 07:55:44 AM »
Hello good guys!
I can not figure out how to check through the playmaker whether the flag on Mesh Renderer is on.
And also turn it on and off
https://ibb.co/tQSJdQ6



djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 4180
    • View Profile
    • jinxtergames
Re: Check Mesh Renderer
« Reply #1 on: March 22, 2019, 10:52:02 AM »
Hi.
on the Ecosystem you can find an action called : component is active

and you can also find : activate component there :)

Sergey_Russia

  • Playmaker Newbie
  • *
  • Posts: 12
    • View Profile
Re: Check Mesh Renderer
« Reply #2 on: March 22, 2019, 12:34:58 PM »
It is necessary to check the flag on the Mesh Renderer, and not the activity of the object.
I check if the object is displayed in Vuforia, because in Ecosystem Vuforia is not working.
Or I will have to change the built-in Vuforia script.
DefaultTrackableEventHandler.cs
Since he has a visibility check.

if (mTrackableBehaviour.TrackableName == "Name")
{
   Actions
}
« Last Edit: March 22, 2019, 12:41:27 PM by Sergey_Russia »

Sergey_Russia

  • Playmaker Newbie
  • *
  • Posts: 12
    • View Profile
Re: Check Mesh Renderer
« Reply #3 on: March 22, 2019, 12:39:22 PM »

Sergey_Russia

  • Playmaker Newbie
  • *
  • Posts: 12
    • View Profile
Re: Check Mesh Renderer
« Reply #4 on: March 23, 2019, 03:05:57 AM »