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

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

0 Members and 2 Guests 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: 32498
    • 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 »