Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: How to handling sf::Time in C#  (Read 3776 times)

0 Members and 1 Guest are viewing this topic.

flower

  • Newbie
  • *
  • Posts: 2
    • View Profile
How to handling sf::Time in C#
« on: March 15, 2020, 08:45:25 am »
Hello everyone,

What is the equivalent code in C# for
sf::Time t3 = sf::seconds(0.01f);
 

I tried to set t3 initialize value as
SFML.System.Time t3 = new SFML.System.Time(0.01f);
 
but it is not working. :(

Please help, thousand thanks.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
Laurent Gomila - SFML developer

flower

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: How to handling sf::Time in C#
« Reply #2 on: March 15, 2020, 10:05:26 am »