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
Debug.Log (videos.Count); | |
int count = 0; | |
bool hiddenVideo = false; | |
bool privateVideo = false; | |
foreach (Dictionary<string, object> video in videos) { | |
count++; | |
if (video.ContainsKey ("hidden")) { | |
hiddenVideo = (bool) video["hidden"]; |
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
diff --git a/Assets/UnityChan2D/Demo/Scripts/Demo.cs b/Assets/UnityChan2D/Demo/Scripts/Demo.cs | |
index e1d19ff..015d1a9 100755 | |
--- a/Assets/UnityChan2D/Demo/Scripts/Demo.cs | |
+++ b/Assets/UnityChan2D/Demo/Scripts/Demo.cs | |
@@ -20,6 +20,30 @@ public class Demo : MonoBehaviour | |
void Awake() | |
{ | |
audioSource = GetComponent<AudioSource>(); | |
+ | |
+ if (Application.loadedLevelName == "World 1-1") |
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
diff --git a/Assets/UnityChan2D/Demo/Scripts/StartController.cs b/Assets/UnityChan2D/Demo/Scripts/StartController.cs | |
index 48c49c4..aeacf26 100755 | |
--- a/Assets/UnityChan2D/Demo/Scripts/StartController.cs | |
+++ b/Assets/UnityChan2D/Demo/Scripts/StartController.cs | |
@@ -9,6 +9,25 @@ public class StartController : MonoBehaviour | |
[SerializeField] | |
private KeyCode enter = KeyCode.X; | |
+ public Joystick touchJoystick; | |
+ |
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
diff --git a/Assets/UnityChan2D/Demo/Scripts/Demo.cs b/Assets/UnityChan2D/Demo/Scripts/Demo.cs | |
index e1d19ff..50b25b0 100755 | |
--- a/Assets/UnityChan2D/Demo/Scripts/Demo.cs | |
+++ b/Assets/UnityChan2D/Demo/Scripts/Demo.cs | |
@@ -20,6 +20,22 @@ public class Demo : MonoBehaviour | |
void Awake() | |
{ | |
audioSource = GetComponent<AudioSource>(); | |
+ | |
+ if (Application.loadedLevelName == "World 1-1") |
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
diff --git a/Assets/UnityChan2D/Scripts/UnityChan2DController.cs b/Assets/UnityChan2D/Scripts/UnityChan2DController.cs | |
index 0d76a83..1ef6e6b 100755 | |
--- a/Assets/UnityChan2D/Scripts/UnityChan2DController.cs | |
+++ b/Assets/UnityChan2D/Scripts/UnityChan2DController.cs | |
@@ -17,6 +17,10 @@ public class UnityChan2DController : MonoBehaviour | |
private State m_state = State.Normal; | |
+ public Joystick moveJoystick; | |
+ public Joystick touchJoystick; |
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
diff --git a/Assets/UnityChan2D/Demo/Scripts/StartController.cs b/Assets/UnityChan2D/Demo/Scripts/StartController.cs | |
index 48c49c4..d891269 100755 | |
--- a/Assets/UnityChan2D/Demo/Scripts/StartController.cs | |
+++ b/Assets/UnityChan2D/Demo/Scripts/StartController.cs | |
@@ -9,6 +9,30 @@ public class StartController : MonoBehaviour | |
[SerializeField] | |
private KeyCode enter = KeyCode.X; | |
+ public Joystick touchJoystick; | |
+ |