3 reference
int m_PivotYOffset;
15 void ~ObjectFollower()
50 GetOnScreenPosition(
x,
y);
61 protected void GetOnScreenPosition(out
float x, out
float y)
63 const float DEFAULT_HANDLE_OFFSET = 0.2;
65 float pivotYOffset = 0.0;
67 bool ignorePivot =
false;
68 bool traceMatched =
false;
69 bool isDefaultPos =
false;
75 pivotYOffset = m_PivotYOffset;
79 if ( pivotYOffset != 0.0 )
80 { objectPos[1] = objectPos[1] + pivotYOffset; }
82 { objectPos[1] = objectPos[1] + DEFAULT_HANDLE_OFFSET; }
91 if ( ignorePivot && !traceMatched )
117 isDefaultPos =
false;