desktop-maesty/steve
8 years ago
4 changed files with 2797 additions and 0 deletions
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2 |
||||
guid: 85e52f4d86ab48841a4622d873337298 |
||||
timeCreated: 1500106840 |
||||
licenseType: Free |
||||
DefaultImporter: |
||||
userData: |
||||
assetBundleName: |
||||
assetBundleVariant: |
@ -0,0 +1,24 @@
|
||||
using System.Collections; |
||||
using System.Collections.Generic; |
||||
using UnityEngine; |
||||
|
||||
namespace Fungus |
||||
{ |
||||
namespace Examples |
||||
{ |
||||
public class SpriteColorChangeFromFungusMouseEvent : MonoBehaviour |
||||
{ |
||||
private SpriteRenderer rend; |
||||
|
||||
private void Start() |
||||
{ |
||||
rend = GetComponent<SpriteRenderer>(); |
||||
} |
||||
|
||||
void OnMouseEventFromFungus() |
||||
{ |
||||
rend.color = Color.HSVToRGB(Random.value, Random.Range(0.7f, 0.9f), Random.Range(0.7f, 0.9f)); |
||||
} |
||||
} |
||||
} |
||||
} |
@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2 |
||||
guid: 11b68bc7e4989f44d98199af76edd420 |
||||
timeCreated: 1501755452 |
||||
licenseType: Free |
||||
MonoImporter: |
||||
serializedVersion: 2 |
||||
defaultReferences: [] |
||||
executionOrder: 0 |
||||
icon: {instanceID: 0} |
||||
userData: |
||||
assetBundleName: |
||||
assetBundleVariant: |
Loading…
Reference in new issue