diff options
author | chai <chaifix@163.com> | 2020-10-23 13:08:43 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2020-10-23 13:08:43 +0800 |
commit | b82da95b5181ac8bbae38efb13e950d5e88a4caa (patch) | |
tree | 48a6f3269276484bbc7cfc95f0651f40a2176aa1 /Assets/MaterializeFX/Scripts/Utils/DemoInputConrtoller.cs | |
parent | 917e9e0b320775634dc2e710f7deac74fd0822f0 (diff) |
*移动amplify shader editor到third party目录
Diffstat (limited to 'Assets/MaterializeFX/Scripts/Utils/DemoInputConrtoller.cs')
-rw-r--r-- | Assets/MaterializeFX/Scripts/Utils/DemoInputConrtoller.cs | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/Assets/MaterializeFX/Scripts/Utils/DemoInputConrtoller.cs b/Assets/MaterializeFX/Scripts/Utils/DemoInputConrtoller.cs deleted file mode 100644 index f5b2c26f..00000000 --- a/Assets/MaterializeFX/Scripts/Utils/DemoInputConrtoller.cs +++ /dev/null @@ -1,37 +0,0 @@ -using UnityEngine;
-
-namespace Assets.MaterializeFX.Scripts.Utils
-{
- internal sealed class DemoInputConrtoller : MonoBehaviour
- {
- private const string SpaceButton = "space";
- private const string LightButton = "f";
- private DemoPrefabController _demoPrefabController;
-
- public Light Light;
-
- public void EnableLigh()
- {
- Light.enabled = true;
- }
-
- public void DisableLight()
- {
- Light.enabled = false;
- }
-
- private void Start()
- {
- _demoPrefabController = GetComponent<DemoPrefabController>();
- }
-
- private void Update()
- {
- if (Input.GetKeyDown(SpaceButton))
- _demoPrefabController.Next();
-
- if (Input.GetKeyDown(LightButton))
- Light.enabled = !Light.enabled;
- }
- }
-}
\ No newline at end of file |