MOST Detector



Features


API reference
Last updated





Last updated
// Next to each line shows the return and set data Type
// return all detected and active objects (detected list)
Most_Detector.GetAllDetectedObjects(); return List<GameObject>
// return all detected and inactive objects (inactive list)
Most_Detector.GetAllInactivedObjects(); return List<GameObject>
// return the number of detected and active objects (detected list count)
Most_Detector.GetNumberOfDetectedObjects(); return int
// return all detected and active objects' world positions
Most_Detector.GetAllActiveObjectsPositions(); return List<Vector3>
// return the closet detected and active object
Most_Detector.GetTheClosestObject() return GameObject
//_______________________________________________________________//
// enable or disable "look at the closest" logic
Most_Detector.LookAtTheClosest return or set bool
// set or get the rotation speed
Most_Detector.RotationSpeed return or set float
// enable or disable on-site detector
// All detected and inactive objects will become active if ActiveOnlyOnSite
// become true on runtime
Most_Detector.ActiveOnlyOnSite return or set bool