Advertisement
Guest User

Untitled

a guest
May 23rd, 2015
202
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.21 KB | None | 0 0
  1. using UnityEngine;
  2. using System.Collections;
  3.  
  4. public class Demo : MonoBehaviour  {
  5.     public int health;
  6.  
  7.     public int CalculateANumber()
  8.    
  9.     void Start()
  10.     {
  11.         print("Player health: " + health);
  12.     }
  13.  
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement