// Start is called before the first frame update void Start() { Check = OperationCheck.Instance; Trails = TaiYin.GetComponentsInChildren <TrailRenderer>(true); Car = GetComponent <CarPhysics_ByGaoYuan>(); Close_TaiYin(); }
private void Start() { Check = OperationCheck.Instance; Car = transform.parent.GetComponent <CarPhysics_ByGaoYuan>(); }