1234567891011121314151617181920212223242526272829303132333435 |
- using Fort23.UTool;
- using UnityEngine;
- namespace GameLogic.Combat.CombatTool.SceneTool
- {
- public class SceneMonoConfigBasic: MonoBehaviour
- {
- public GameObject skyObejct;
- public Material shengShiMaterial;
- protected Transform root;
- protected Transform moveRoot;
- public void Init(Transform root,Transform moveRoot)
- {
- this.root = root;
- this.moveRoot = moveRoot;
- ProInit();
- }
- protected virtual void ProInit()
- {
-
- }
- public void UpdateScene()
- {
- skyObejct.transform.position = new Vector3(root.position.x, 0, root.position.z);
- ProUpdate();
- }
- protected virtual void ProUpdate()
- {
-
- }
- }
- }
|