Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
Resource Class Reference

Object holding reference to resource. In destructor release the resource. More...

Inheritance diagram for Resource:

Detailed Description

Object holding reference to resource. In destructor release the resource.

// load
Resource resource = Resource.Load(prefabResourceName);
if (resource.IsValid())
{
IEntity rootBall = GetGame().SpawnEntityPrefab(resource);
}
// At the end of scope is resource released.
ArmaReforgerScripted GetGame()
Definition game.c:1398

Definition at line 24 of file Resource.c.


The documentation for this class was generated from the following file: