Commit d2c519d9 authored by Freddy's avatar Freddy
Browse files

BugFix

parent 8e6a22ef
**/.vs/
**/bin/
**/Library/
**/obj/
\ No newline at end of file
**/obj/
SunriseGame/Assembly-CSharp.csproj
**/Temp/
*.csproj
fileFormatVersion: 2
guid: 4106d72e7f9a8e8439d463a84a32ce68
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
fileFormatVersion: 2
guid: 8266f81422145e047ab9bba3af3288cf
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
fileFormatVersion: 2
guid: 52c2a20b9f689ae43a47d586aa73da0c
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
fileFormatVersion: 2
guid: b2a521ccde4e8b141be4a0bda5a1f867
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
fileFormatVersion: 2
guid: f53768e405485054fa415bd6c73d7b79
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
fileFormatVersion: 2
guid: 7f379b6a51abc8f42b99ac50ddfec97a
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
fileFormatVersion: 2
guid: 4b7d5e0904a8e0646995afae3d93d543
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
......@@ -28,6 +28,10 @@ public class InputController : MonoBehaviour
}
if (click)
TouchController.Instance.SendTouchSignal(camera.ScreenToWorldPoint(CursorPosition));
{
BackgroundController.Instance.StartAnimation(Color.HSVToRGB(hue, 0.7f, 1), CursorPosition);
hue = (hue + 0.6f) % 1;
//TouchController.Instance.SendTouchSignal(camera.ScreenToWorldPoint(CursorPosition));
}
}
}
......@@ -27,7 +27,7 @@ public class TouchController : MonoBehaviour
if (collider != lastCollider)
{
target = collider.GetComponent<TouchTarget>();
lastCollider = collider
lastCollider = collider;
}
else
target = lastTouchTarget;
......
......@@ -4,15 +4,5 @@ using UnityEngine;
public class TouchTarget : MonoBehaviour
{
// Start is called before the first frame update
void Start()
{
}
// Update is called once per frame
void Update()
{
}
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment