-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1.2.9: Added extensions to both the event API and the Transform API.
- Loading branch information
Showing
187 changed files
with
4,537 additions
and
282 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
using System.Collections; | ||
using System.Collections.Generic; | ||
using UnityEngine; | ||
using ScriptableFramework; | ||
|
||
public class EventRaiser : MonoBehaviour | ||
{ | ||
public AppEvent thing; | ||
|
||
// Start is called before the first frame update | ||
void Start() | ||
{ | ||
thing.RaiseEvent (); | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
using System.Collections; | ||
using System.Collections.Generic; | ||
using UnityEngine; | ||
using UnityEngine.SceneManagement; | ||
|
||
public class GameManager : MonoBehaviour | ||
{ | ||
void Start() | ||
{ | ||
DontDestroyOnLoad (gameObject); | ||
} | ||
|
||
private void Update () | ||
{ | ||
if (Input.GetKeyDown (KeyCode.Space)) SceneManager.LoadScene (1); | ||
} | ||
|
||
public void Response () | ||
{ | ||
GetComponent<MeshRenderer> ().material.color = Color.red; | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.