Example #1
0
        // Start is called before the first frame update
        protected override void Start()
        {
            base.Start();
            threeDStrength = GetComponent<ThreeDStrength>();

            if (!collider)
            {
                return;
            }
        }
Example #2
0
 public void OnValidate()
 {
     threeDStrength = GetComponent<ThreeDStrength>();
     collider = GetComponent<MeshCollider>();
 }