// Start is called before the first frame update protected override void Start() { base.Start(); threeDStrength = GetComponent<ThreeDStrength>(); if (!collider) { return; } }
public void OnValidate() { threeDStrength = GetComponent<ThreeDStrength>(); collider = GetComponent<MeshCollider>(); }