filmov
tv
Add ToolTip to variables in unity easy tutorial

Показать описание
ASSALAM o alaikum Code:
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class UnityScripting : MonoBehaviour
{
[Tooltip("This variable stores name of player")]
public int playerName;
[Tooltip("This variable stores id of player")]
public string playerId;
// Start is called before the first frame update
void Start()
{
}
// Update is called once per frame
void Update()
{
}
}
/////////////////////////////////////////////////////////////////////////////////////////////
ASSALAM o alaikum
All codes and concepts and videos from this channel are non copyrighted and free to use because we believe that knowledge should be freely available for everyone
/////////////////////////////////////////////////////////////////////////////////////////////
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class UnityScripting : MonoBehaviour
{
[Tooltip("This variable stores name of player")]
public int playerName;
[Tooltip("This variable stores id of player")]
public string playerId;
// Start is called before the first frame update
void Start()
{
}
// Update is called once per frame
void Update()
{
}
}
/////////////////////////////////////////////////////////////////////////////////////////////
ASSALAM o alaikum
All codes and concepts and videos from this channel are non copyrighted and free to use because we believe that knowledge should be freely available for everyone
/////////////////////////////////////////////////////////////////////////////////////////////