This topic is not available in your language. Therefore, the original version (ja-jp) is displayed.
VRC0007: Method is not exposed to Udon
| Property | Value | 
|---|---|
| ID | VRC0007 | 
| Category | Usage | 
| Severity | Error | 
| Runtime Version | 3.1.0 ~ latest | 
Method is not exposed to Udon.
Example
Code with Diagnostic
using UdonSharp;
 
using UnityEngine;
 
class TestBehaviour0 : UdonSharpBehaviour
{
    public void TestMethod()
    {
        GetComponent<Rigidbody>();
        ~~~~~~~~~~~~~~~~~~~~~~~~~
    }
}Code with Fix
// NOT YET PROVIDED