示例#1
0
 private void InitVar()
 {
     m_mouseInteractiveObject = GetComponent <KaiTool_MouseInteractiveObject>();
     m_rigidbody          = GetComponent <Rigidbody>();
     m_isKinematicOrigin  = m_rigidbody.isKinematic;
     m_cameraTransform    = Camera.main.transform;
     m_lastRecordPosition = transform.position;
     m_lastRecordRotation = transform.rotation;
 }
 private void InitVar()
 {
     m_interactiveObject = GetComponent <KaiTool_MouseInteractiveObject>();
 }