Basic Function C# Scripting
Basic Function
C# Scripting
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class FirstScript : MonoBehaviour {
public int health =5;
public float healthFloat = 5.0f;
public bool trueOrfalse = true;
public GameObject player;
void Awake()
{
}
void Start ()
{
}
void Update()
{
}
void Death()
{
}
void onTriggerEnter(Collider other)
{
}
}
No comments