Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
HelloWorld/Assets/Scripts/HelloWorld.cs
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
32 lines (22 sloc)
589 Bytes
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
using UnityEngine; | |
using System.Collections; | |
public class HelloWorld : MonoBehaviour { | |
public bool isDead = false; | |
public int health = 5; | |
public float dmg = 3.15f; | |
public string Name = "Yohan Van Spoot"; | |
public GameObject Kamera; | |
private int Grade1 = 70; | |
private int Grade2 = 100; | |
private int Grade3 = 83; | |
private int FinalGrade = 0; | |
// Use this for initialization | |
void Start () { | |
FinalGrade = ((Grade1 + Grade2 + Grade3) / 3); | |
Debug.Log ("My Grade = " + FinalGrade); | |
// + - * / = == | |
} | |
// Update is called once per frame | |
void Update () { | |
} | |
} |