示例#1
0
        public Renderer GetIntersectedObjectForTester(IntersectionTester tester)
        {
            Renderer obj;

            m_IntersectedObjects.TryGetValue(tester, out obj);
            return(obj);
        }
示例#2
0
 void OnIntersectionStay(IntersectionTester tester, Renderer obj)
 {
     m_IntersectedObjects[tester] = obj;
 }
示例#3
0
 void OnIntersectionExit(IntersectionTester tester, Renderer obj)
 {
     m_IntersectedObjects.Remove(tester);
 }
示例#4
0
 public void AddTester(IntersectionTester tester)
 {
     m_IntersectedObjects.Clear();
     m_Testers.Add(tester);
 }