playMaker

Author Topic: Check Mesh Renderer  (Read 1266 times)

Sergey_Russia

  • Playmaker Newbie
  • *
  • Posts: 18
Check Mesh Renderer
« on: March 22, 2019, 10: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: 7614
    • jinxtergames
Re: Check Mesh Renderer
« Reply #1 on: March 22, 2019, 01:52:02 PM »
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: 18
Re: Check Mesh Renderer
« Reply #2 on: March 22, 2019, 03: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, 03:41:27 PM by Sergey_Russia »

Sergey_Russia

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

Sergey_Russia

  • Playmaker Newbie
  • *
  • Posts: 18
Re: Check Mesh Renderer
« Reply #4 on: March 23, 2019, 06:05:57 AM »