#help
1 messages · Page 1 of 1 (latest)
Okay, and do you already have some code?
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class Main : MonoBehaviour
{
string time = System.DateTime.Now.ToString();
public Text Now;
void Update()
{
time = System.DateTime.Now.ToString();
Now.text = time;
}
}
I'm looking to the link that you sent
``
DateTime dateNext = DateTime.Parse(date);
what do i type in (date) ?
That's what Im trying to find now
I found this
Ill try it out
print(time);``` Hmm I thought this would work, but it gave me: 9296.22:28:20.2376111
that just doesn't sound quite right
Ohh I think I see the error
@autumn temple , I think this video may be very helpful https://www.youtube.com/watch?v=KKzSQ6r93dY if not, you can always ask in #💻┃code-beginner 🙂
In this C# tutorial I will teach about loops in C#. Loops are used to spit out data multiple times in a row.
Link to DateTime: https://docs.microsoft.com/en-us/dotnet/api/system.datetime?view=netframework-4.8
Link to ToString() parameters: https://docs.microsoft.com/en-us/dotnet/api/system.datetime.tostring?view=netframework-4.8
➤ MEET OTHER A...
Hi! I have a question, so I made a parallax background for my game but when it transitions after you have gone past the entire thing it doesn't look infinite it looks very choppy. What do I do? Thanks if you help!