ContentFinding

csharp
public sealed class ContentFinding

Namespace NodeWorld.SDK.ContentAllowlist.

One thing of a world bundle that is not allowed, and so is removed from the bundle the players load (« Charger sans ce composant »). The SDK shows it to the creator when the world is published.

Constructors

ContentFinding

csharp
public ContentFinding(ContentFindingKind kind, string typeName, string objectPath, string detail, string reason)

A finding.

Properties

Kind

csharp
public ContentFindingKind Kind { get; }

What is removed.

TypeName

csharp
public string TypeName { get; }

The component's or the asset's type: a Unity class (AudioListener) or a script (Namespace.Class).

ObjectPath

csharp
public string ObjectPath { get; }

The object it is on (path in the hierarchy), the asset's name, or the animation clip's name.

Detail

csharp
public string Detail { get; }

For an event call: Type.Method called; for an animation event: its function; empty otherwise.

Reason

csharp
public string Reason { get; }

Why it is not allowed (English, for the logs).

Methods

Describe

csharp
public string Describe(bool french)

The message for the creator, in French or in English.

ToString

csharp
public override string ToString()

The English message followed by the reason, for the logs.