Quantcast
Viewing all articles
Browse latest Browse all 94

Access protected class from other script.

Hi, I'm using some script for one of my own projects from UFPS and would like to know how I would access the Inflictor below from another script with C, as I'm .js I'm not to sure with this, thanks. protected class Inflictor { public Transform Transform = null; public float DamageTime = 0.0f; public Inflictor(Transform transform, float damageTime) { Transform = transform; DamageTime = damageTime; } }

Viewing all articles
Browse latest Browse all 94

Trending Articles