I am trying to use code blocks with Doxygen; however, this method I've used does not seem intuitive and I am wondering if there's a better method, that will include inline code.
public class DropZone : MonoBehaviour
{
private void OnCollisionEnter(Collision collision)//! resets an object that collides with the dropzone.
{
///\code
//!collision.gameObject.GetComponent<StorePos>().ResetPos();
///\endcode
collision.gameObject.GetComponent<StorePos>().ResetPos();//! if anything drops bellow the counter it will reset the pos to initial
}
}
I'll give an example of the syntax that I would like:
public class DropZone : MonoBehaviour
{
private void OnCollisionEnter(Collision collision)//! resets an object that collides with the dropzone.
{
///\code
collision.gameObject.GetComponent<StorePos>().ResetPos();//! if anything drops bellow the counter it will reset the pos to initial
///\endcode
}
}