forked from Crockan/MercuryToolbox
18 lines
344 B
C#
18 lines
344 B
C#
using UnityEngine;
|
|
|
|
namespace Demo.Game {
|
|
public class PlayerController : MonoBehaviour {
|
|
public void Start() {
|
|
Debug.Log("ready");
|
|
}
|
|
|
|
private int ComputeScore(int baseScore) {
|
|
if (baseScore < 0) {
|
|
return 0;
|
|
}
|
|
|
|
return baseScore + 10;
|
|
}
|
|
}
|
|
}
|