WaterRangeCtrlTool.cs 679 B

123456789101112131415161718192021222324252627282930313233
  1. using System;
  2. using System.Collections;
  3. using System.Collections.Generic;
  4. using UnityEngine;
  5. public class WaterRangeCtrlTool : MonoBehaviour
  6. {
  7. public static WaterRangeCtrlTool _Instance;
  8. public GameObject[] FxObjects;
  9. public Material waterRangeMat;
  10. public AnimationCurve waterCurveSZ;
  11. public AnimationCurve waterCurveVZ;
  12. private void Awake()
  13. {
  14. _Instance = this;
  15. waterRangeMat = this.transform.Find("NeiHe_FenQu").GetComponent<MeshRenderer>().material;
  16. }
  17. // Start is called before the first frame update
  18. void Start()
  19. {
  20. }
  21. // Update is called once per frame
  22. void Update()
  23. {
  24. }
  25. }