Skip to content

Commit

Permalink
1.2.9: Added extensions to both the event API and the Transform API.
Browse files Browse the repository at this point in the history
  • Loading branch information
pablothedolphin committed Sep 11, 2019
2 parents 9f54f10 + b7a4151 commit 5ea8748
Show file tree
Hide file tree
Showing 187 changed files with 4,537 additions and 282 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Scriptable Framework

In this repository you will find the source code, assets and project settings of the Scriptable Framework for Unity app development (Unity 2018.3.11 or newer recommended) along with a DocFX project containing documentation assets and articles.
In this repository you will find the source code, assets and project settings of the Scriptable Framework for Unity app development (Unity 2018.4.4 or newer recommended) along with a DocFX project containing documentation assets and articles.

---

Expand Down
15 changes: 15 additions & 0 deletions Scriptable Framework/Assets/EventRaiser.cs
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 ();
}
}
11 changes: 11 additions & 0 deletions Scriptable Framework/Assets/EventRaiser.cs.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 22 additions & 0 deletions Scriptable Framework/Assets/GameManager.cs
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;
}
}
11 changes: 11 additions & 0 deletions Scriptable Framework/Assets/GameManager.cs.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 5ea8748

Please sign in to comment.