Get a count of all deployable items?
Discussion in 'Rust Development' started by Rusty, Feb 19, 2016.
-
how did you solve it? ( code example )
-
Code:
var Deployed = UnityEngine.Object.FindObjectsOfType<Deployable>(); Puts("Deployed Count: " + Deployed.Length);
