void OnEnable() { if (myTarget == null) { myTarget = (VRCSDK2.VRC_Station)target; } }
void OnEnable() { if (myTarget == null) { myTarget = (VRCSDK2.VRC_Station)target; } onRemoteEnter = serializedObject.FindProperty("OnRemotePlayerEnterStation"); onRemoteExit = serializedObject.FindProperty("OnRemotePlayerExitStation"); onLocalEnter = serializedObject.FindProperty("OnLocalPlayerEnterStation"); onLocalExit = serializedObject.FindProperty("OnLocalPlayerExitStation"); }