Quantcast
Channel: Questions in topic: "protection level"
Viewing all articles
Browse latest Browse all 12

Access protected class from other script.

$
0
0
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 12

Latest Images

Trending Articles





Latest Images